nixpkgs/pkgs/development/python-modules/graphql-core/default.nix

41 lines
726 B
Nix
Raw Normal View History

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