Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / graphql-core / default.nix
blob0d866a29bd2875c51624aaeffc4cb42b3bf5abf5
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , py
5 , pytest-benchmark
6 , pytest-asyncio
7 , pytestCheckHook
8 , pythonOlder
9 }:
11 buildPythonPackage rec {
12   pname = "graphql-core";
13   version = "3.2.3";
14   format = "setuptools";
16   disabled = pythonOlder "3.6";
18   src = fetchFromGitHub {
19     owner = "graphql-python";
20     repo = pname;
21     rev = "refs/tags/v${version}";
22     hash = "sha256-LtBbHA5r6/YNh2gKX0+NqQjrpKuMioyOYWT0R59SIL4=";
23   };
25   nativeCheckInputs = [
26     py
27     pytest-asyncio
28     pytest-benchmark
29     pytestCheckHook
30   ];
32   pythonImportsCheck = [
33     "graphql"
34   ];
36   meta = with lib; {
37     description = "Port of graphql-js to Python";
38     homepage = "https://github.com/graphql-python/graphql-core";
39     license = licenses.mit;
40     maintainers = with maintainers; [ kamadorueda ];
41   };