Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
59 lines
1.1 KiB
Nix
59 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
graphql-core,
|
|
graphql-relay,
|
|
pytest-asyncio,
|
|
pytest-benchmark,
|
|
pytest-mock,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
typing-extensions,
|
|
python-dateutil,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "graphene";
|
|
version = "3.4.3";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
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 = with lib; {
|
|
description = "GraphQL Framework for Python";
|
|
homepage = "https://github.com/graphql-python/graphene";
|
|
changelog = "https://github.com/graphql-python/graphene/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|