2020-02-09 14:47:03 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
2021-02-11 02:55:42 +00:00
|
|
|
, pythonOlder
|
2020-02-09 14:47:03 +00:00
|
|
|
|
|
|
|
, coveralls
|
|
|
|
, promise
|
2021-02-11 02:55:42 +00:00
|
|
|
, pytestCheckHook
|
2020-02-09 14:47:03 +00:00
|
|
|
, pytest-benchmark
|
|
|
|
, pytest-mock
|
|
|
|
, rx
|
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "graphql-core";
|
2021-02-11 02:32:01 +00:00
|
|
|
version = "3.1.3";
|
2021-02-11 02:55:42 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
2020-02-09 14:47:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "graphql-python";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-02-11 02:32:01 +00:00
|
|
|
sha256 = "0qy1i6vffwad74ymdsh1qjf5b6ph4z0vyxzkkc6yppwczhzmi1ps";
|
2020-02-09 14:47:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytest-benchmark
|
2021-02-11 02:55:42 +00:00
|
|
|
pytestCheckHook
|
2020-02-09 14:47:03 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
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
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|