blade-formatter: 1.42.0 -> 1.42.1 (#376873)
[NixPkgs.git] / pkgs / development / python-modules / graphene / default.nix
blobccda491ae7e6a5897ae6973da589219a0b012ddb
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   graphql-core,
7   graphql-relay,
8   pytest-asyncio,
9   pytest-benchmark,
10   pytest-mock,
11   pytest7CheckHook,
12   pythonOlder,
13   typing-extensions,
14   python-dateutil,
17 buildPythonPackage rec {
18   pname = "graphene";
19   version = "3.4.3";
20   pyproject = true;
22   disabled = pythonOlder "3.8";
24   src = fetchFromGitHub {
25     owner = "graphql-python";
26     repo = "graphene";
27     tag = "v${version}";
28     hash = "sha256-K1IGKK3nTsRBe2D/cKJ/ahnAO5xxjf4gtollzTwt1zU=";
29   };
31   build-system = [ setuptools ];
33   dependencies = [
34     graphql-core
35     graphql-relay
36     python-dateutil
37     typing-extensions
38   ];
40   nativeCheckInputs = [
41     pytest7CheckHook
42     pytest-asyncio
43     pytest-benchmark
44     pytest-mock
45   ];
47   pytestFlagsArray = [ "--benchmark-disable" ];
49   pythonImportsCheck = [ "graphene" ];
51   meta = with lib; {
52     description = "GraphQL Framework for Python";
53     homepage = "https://github.com/graphql-python/graphene";
54     changelog = "https://github.com/graphql-python/graphene/releases/tag/v${version}";
55     license = licenses.mit;
56     maintainers = [ ];
57   };