1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-22 09:20:58 +03:00
nixpkgs/pkgs/development/python-modules/graphql-core/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
804 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchFromGitHub,
py,
pytest-benchmark,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "graphql-core";
version = "3.2.3";
format = "setuptools";
2021-02-11 03:55:42 +01:00
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "graphql-python";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-LtBbHA5r6/YNh2gKX0+NqQjrpKuMioyOYWT0R59SIL4=";
};
nativeCheckInputs = [
py
pytest-asyncio
pytest-benchmark
2021-02-11 03:55:42 +01:00
pytestCheckHook
];
pythonImportsCheck = [ "graphql" ];
meta = with lib; {
description = "Port of graphql-js to Python";
homepage = "https://github.com/graphql-python/graphql-core";
license = licenses.mit;
maintainers = with maintainers; [ kamadorueda ];
};
}