1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00

Merge pull request #121537 from Mindavi/graphene/fix-compilation

graphene: fix build by allowing newer versions of aniso8601
This commit is contained in:
Fabian Affolter 2021-05-03 08:41:05 +02:00 committed by GitHub
commit 5f59141ba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,6 +11,7 @@
, pytest-mock
, pytz
, snapshottest
, fetchpatch
}:
buildPythonPackage rec {
@ -24,6 +25,13 @@ buildPythonPackage rec {
sha256 = "sha256-bVCCLPnV5F8PqLMg3GwcpwpGldrxsU+WryL6gj6y338=";
};
# Allow later aniso8601 releases
# https://github.com/graphql-python/graphene/pull/1331
patches = [ (fetchpatch {
url = "https://github.com/graphql-python/graphene/commit/26b16f75b125e35eeb2274b7be503ec29f2e8a45.patch";
sha256 = "qm96pNOoxPieEy1CFZpa2Mx010pY3QU/vRyuL0qO3Tk=";
}) ];
propagatedBuildInputs = [
aniso8601
graphql-core