diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-01-04 10:42:44 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-01-07 10:42:19 +0100 |
commit | 1c7d05fd15983ae1734053d829485282b7d6089f (patch) | |
tree | ea234ede695f0c681ad98bf6cbfb34e1f696bf77 /pkgs/development/python-modules/graphene | |
parent | 14ed11bf18bf45a35a994ef8ecc72f2f6e3ffd0c (diff) |
pythonPackages.graphene: init at 3.0.0b6
Diffstat (limited to 'pkgs/development/python-modules/graphene')
-rw-r--r-- | pkgs/development/python-modules/graphene/default.nix | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/graphene/default.nix b/pkgs/development/python-modules/graphene/default.nix new file mode 100644 index 0000000000000..860bb504cf1a0 --- /dev/null +++ b/pkgs/development/python-modules/graphene/default.nix @@ -0,0 +1,50 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, aniso8601 +, iso8601 +, graphql-core +, graphql-relay +, pytestCheckHook +, pytest-asyncio +, pytest-benchmark +, pytest-mock +, pytz +, snapshottest +}: + +buildPythonPackage rec { + pname = "graphene"; + version = "3.0.0b6"; + + src = fetchFromGitHub { + owner = "graphql-python"; + repo = "graphene"; + rev = "v${version}"; + sha256 = "1q6qmyc4jbi9cws4d98x7bgi7gppd09dmzijkb19fwbh4giy938r"; + }; + + propagatedBuildInputs = [ + aniso8601 + graphql-core + graphql-relay + ]; + + checkInputs = [ + pytestCheckHook + pytest-asyncio + pytest-benchmark + pytest-mock + pytz + snapshottest + ]; + + pythonImportsCheck = [ "graphene" ]; + + meta = with lib; { + description = "GraphQL Framework for Python"; + homepage = "https://github.com/graphql-python/graphene"; + license = licenses.mit; + maintainers = with maintainers; [ SuperSandro2000 ]; + }; +} |