pythonPackages.graphene: init at 3.0.0b6
This commit is contained in:
parent
14ed11bf18
commit
1c7d05fd15
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in New Issue