pythonPackages.graphene: init at 3.0.0b6

This commit is contained in:
Sandro Jäckel 2021-01-04 10:42:44 +01:00
parent 14ed11bf18
commit 1c7d05fd15
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 52 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -2669,6 +2669,8 @@ in {
graph_nets = callPackage ../development/python-modules/graph_nets { };
graphene = callPackage ../development/python-modules/graphene { };
graphql-core = callPackage ../development/python-modules/graphql-core { };
graphql-server-core = callPackage ../development/python-modules/graphql-server-core { };