summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/graphql-core/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/graphql-core/default.nix')
-rw-r--r--pkgs/development/python-modules/graphql-core/default.nix24
1 files changed, 9 insertions, 15 deletions
diff --git a/pkgs/development/python-modules/graphql-core/default.nix b/pkgs/development/python-modules/graphql-core/default.nix
index 5c29a1135a9b..85021d126a1b 100644
--- a/pkgs/development/python-modules/graphql-core/default.nix
+++ b/pkgs/development/python-modules/graphql-core/default.nix
@@ -1,27 +1,21 @@
-{ buildPythonPackage
+{ lib
+, buildPythonPackage
, fetchFromGitHub
-, lib
-, pythonOlder
-
-, coveralls
-, promise
-, pytestCheckHook
, pytest-benchmark
-, pytest-mock
-, rx
-, six
+, pytestCheckHook
+, pythonOlder
}:
buildPythonPackage rec {
pname = "graphql-core";
- version = "3.1.3";
+ version = "3.1.4";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "graphql-python";
repo = pname;
rev = "v${version}";
- sha256 = "0qy1i6vffwad74ymdsh1qjf5b6ph4z0vyxzkkc6yppwczhzmi1ps";
+ sha256 = "sha256-lamV5Rd37WvFBJ+zJUb+UhqxoNUrRhoMJx1NodbQUjs=";
};
checkInputs = [
@@ -29,12 +23,12 @@ buildPythonPackage rec {
pytestCheckHook
];
+ pythonImportsCheck = [ "graphql" ];
+
meta = with lib; {
description = "Port of graphql-js to Python";
homepage = "https://github.com/graphql-python/graphql-core";
license = licenses.mit;
- maintainers = with maintainers; [
- kamadorueda
- ];
+ maintainers = with maintainers; [ kamadorueda ];
};
}