forked from mirrors/nixpkgs
b38f8ae53e
This was previously propagated by graphql-core, thus shadowing the missing dependency.
55 lines
985 B
Nix
55 lines
985 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, aniso8601
|
|
, iso8601
|
|
, graphql-core
|
|
, graphql-relay
|
|
, promise
|
|
, pytestCheckHook
|
|
, pytest-asyncio
|
|
, pytest-benchmark
|
|
, pytest-mock
|
|
, pytz
|
|
, snapshottest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "graphene";
|
|
version = "3.0.0b7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "graphql-python";
|
|
repo = "graphene";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-bVCCLPnV5F8PqLMg3GwcpwpGldrxsU+WryL6gj6y338=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aniso8601
|
|
graphql-core
|
|
graphql-relay
|
|
];
|
|
|
|
checkInputs = [
|
|
promise
|
|
pytestCheckHook
|
|
pytest-asyncio
|
|
pytest-benchmark
|
|
pytest-mock
|
|
pytz
|
|
snapshottest
|
|
];
|
|
|
|
pytestFlagsArray = [ "--benchmark-disable" ];
|
|
|
|
pythonImportsCheck = [ "graphene" ];
|
|
|
|
meta = with lib; {
|
|
description = "GraphQL Framework for Python";
|
|
homepage = "https://github.com/graphql-python/graphene";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
};
|
|
}
|