python3.pkgs.graphql-server-core: 1.2.0 -> 2.0.0

This commit is contained in:
Jörg Thalheim 2020-07-06 23:51:24 +01:00 committed by Martin Weinelt
parent 867fa90c51
commit cfda348d50
No known key found for this signature in database
GPG key ID: BD4AA0528F63F17E

View file

@ -1,23 +1,33 @@
{ buildPythonPackage
, fetchFromGitHub
, lib
, black
, graphql-core
, promise
, fetchpatch
, pythonOlder
}:
buildPythonPackage rec {
pname = "graphql-server-core";
version = "1.2.0";
version = "2.0.0";
src = fetchFromGitHub {
owner = "graphql-python";
repo = pname;
rev = "v${version}";
sha256 = "123q3xziv0s22h10v3f5slirf4b6nxj0hnmarwx9vws6x21bgrgh";
sha256 = "1w3biv2za2m1brwjy0z049c2m94gm1zfwxzgc6lwrsci724jv9fr";
};
disable = pythonOlder "3.6";
patches = [
(fetchpatch {
url = "https://github.com/graphql-python/graphql-server-core/commit/865ee9d5602f352c958f6f7e15adbe9abe216784.patch";
sha256 = "03p44p4j8rys7mgamh2h9ibbnac2cqwvp5f5hrl2avj2hh0l6j46";
})
];
propagatedBuildInputs = [
graphql-core
promise