Backport graphql-core to NixOS 21.11

test-upstream-strawberry
Inex Code 2022-08-01 13:28:44 +03:00
parent df1d3a3086
commit 3b51e2d4ee
1 changed files with 18 additions and 1 deletions

View File

@ -14,13 +14,30 @@ self: super: rec {
];
propagatedBuildInputs = with self.python39Packages; [
typing-extensions
graphql-core
# graphql-core
python-multipart
python-dateutil
flask
pydantic
pygments
poetry
(buildPythonPackage rec {
pname = "graphql-core";
version = "3.2.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-huKgvgCL/eGe94OI3opyWh2UKpGQykMcJKYIN5c4A84=";
};
checkInputs = [
pytest-asyncio
pytest-benchmark
pytestCheckHook
];
pythonImportsCheck = [
"graphql"
];
})
];
src = python-super.fetchPypi {
inherit pname version;