blob: 6fd69774d08305ed82d1237119b90b07ff04fe59 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
graphql-core,
graphql-relay,
pytest-asyncio,
pytest-benchmark,
pytest-mock,
pytestCheckHook,
typing-extensions,
python-dateutil,
}:
buildPythonPackage rec {
pname = "graphene";
version = "3.4.3";
pyproject = true;
src = fetchFromGitHub {
owner = "graphql-python";
repo = "graphene";
tag = "v${version}";
hash = "sha256-K1IGKK3nTsRBe2D/cKJ/ahnAO5xxjf4gtollzTwt1zU=";
};
build-system = [ setuptools ];
dependencies = [
graphql-core
graphql-relay
python-dateutil
typing-extensions
];
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
pytest-benchmark
pytest-mock
];
pytestFlags = [ "--benchmark-disable" ];
pythonImportsCheck = [ "graphene" ];
meta = {
description = "GraphQL Framework for Python";
homepage = "https://github.com/graphql-python/graphene";
changelog = "https://github.com/graphql-python/graphene/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|