Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / graphene / default.nix
blob2839fc337cd8c2e063a4c3c4dae21e0d889e729b
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , aniso8601
5 , graphql-core
6 , graphql-relay
7 , promise
8 , pytestCheckHook
9 , pytest-asyncio
10 , pytest-benchmark
11 , pytest-mock
12 , pytz
13 , snapshottest
16 buildPythonPackage rec {
17   pname = "graphene";
18   version = "3.0.0b7";
20   src = fetchFromGitHub {
21     owner = "graphql-python";
22     repo = "graphene";
23     rev = "v${version}";
24     sha256 = "sha256-bVCCLPnV5F8PqLMg3GwcpwpGldrxsU+WryL6gj6y338=";
25   };
27   propagatedBuildInputs = [
28     aniso8601
29     graphql-core
30     graphql-relay
31   ];
33   checkInputs = [
34     promise
35     pytestCheckHook
36     pytest-asyncio
37     pytest-benchmark
38     pytest-mock
39     pytz
40     snapshottest
41   ];
43   pytestFlagsArray = [ "--benchmark-disable" ];
45   pythonImportsCheck = [ "graphene" ];
47   meta = with lib; {
48     description = "GraphQL Framework for Python";
49     homepage = "https://github.com/graphql-python/graphene";
50     license = licenses.mit;
51     maintainers = with maintainers; [ SuperSandro2000 ];
52   };