git.iko.soy/typeable/nixpkgs
on master help sign in
python3.pkgs.graphql-server-core: 1.2.0 -> 2.0.0
cfda348Jörg Thalheim
pkgs/development/python-modules/graphql-server-core/default.nix+13−3
@@ -1,23 +1,33 @@
1{ buildPythonPackage
1{ buildPythonPackage
2, fetchFromGitHub
2, fetchFromGitHub
3, lib
3, lib
4−
5, black
4, black
6, graphql-core
5, graphql-core
7, promise
6, promise
7+, fetchpatch
8+, pythonOlder
8}:
9}:
9
10
10buildPythonPackage rec {
11buildPythonPackage rec {
11 pname = "graphql-server-core";
12 pname = "graphql-server-core";
12− version = "1.2.0";
13+ version = "2.0.0";
13
14
14 src = fetchFromGitHub {
15 src = fetchFromGitHub {
15 owner = "graphql-python";
16 owner = "graphql-python";
16 repo = pname;
17 repo = pname;
17 rev = "v${version}";
18 rev = "v${version}";
18− sha256 = "123q3xziv0s22h10v3f5slirf4b6nxj0hnmarwx9vws6x21bgrgh";
19+ sha256 = "1w3biv2za2m1brwjy0z049c2m94gm1zfwxzgc6lwrsci724jv9fr";
19 };
20 };
20
21
22+ disable = pythonOlder "3.6";
23+
24+ patches = [
25+ (fetchpatch {
26+ url = "https://github.com/graphql-python/graphql-server-core/commit/865ee9d5602f352c958f6f7e15adbe9abe216784.patch";
27+ sha256 = "03p44p4j8rys7mgamh2h9ibbnac2cqwvp5f5hrl2avj2hh0l6j46";
28+ })
29+ ];
30+
21 propagatedBuildInputs = [
31 propagatedBuildInputs = [
22 graphql-core
32 graphql-core
23 promise
33 promise