|
|
|
@ -1,22 +1,36 @@ |
|
|
|
|
{ lib |
|
|
|
|
, buildPythonPackage |
|
|
|
|
, fetchPypi |
|
|
|
|
|
|
|
|
|
, pythonOlder |
|
|
|
|
|
|
|
|
|
# build |
|
|
|
|
, poetry-core |
|
|
|
|
|
|
|
|
|
# runtime |
|
|
|
|
, graphql-core |
|
|
|
|
, typing-extensions |
|
|
|
|
|
|
|
|
|
# tests |
|
|
|
|
, pytest-asyncio |
|
|
|
|
, pytest-describe |
|
|
|
|
, pytestCheckHook |
|
|
|
|
, pythonOlder |
|
|
|
|
, typing-extensions |
|
|
|
|
}: |
|
|
|
|
|
|
|
|
|
buildPythonPackage rec { |
|
|
|
|
pname = "graphql-relay"; |
|
|
|
|
version = "3.1.5"; |
|
|
|
|
version = "3.2.0"; |
|
|
|
|
format = "pyproject"; |
|
|
|
|
|
|
|
|
|
src = fetchPypi { |
|
|
|
|
inherit pname version; |
|
|
|
|
sha256 = "sha256-En9AkT8Ry4R0Uu95STEmGq47Ii6q+Xb3yEMCmFNOVNM="; |
|
|
|
|
hash = "sha256-H/HFEpg1bkgaC+AJzN/ySYMs5T8wVZwTOPIqDg0XJQw="; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [ |
|
|
|
|
poetry-core |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ |
|
|
|
|
graphql-core |
|
|
|
|
] ++ lib.optionals (pythonOlder "3.8") [ |
|
|
|
@ -25,6 +39,7 @@ buildPythonPackage rec { |
|
|
|
|
|
|
|
|
|
checkInputs = [ |
|
|
|
|
pytest-asyncio |
|
|
|
|
pytest-describe |
|
|
|
|
pytestCheckHook |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|