Backport graphql-core to NixOS 21.11

This commit is contained in:
Inex Code 2022-08-01 13:28:44 +03:00
parent df1d3a3086
commit 3b51e2d4ee

View file

@ -14,13 +14,30 @@ self: super: rec {
]; ];
propagatedBuildInputs = with self.python39Packages; [ propagatedBuildInputs = with self.python39Packages; [
typing-extensions typing-extensions
graphql-core # graphql-core
python-multipart python-multipart
python-dateutil python-dateutil
flask flask
pydantic pydantic
pygments pygments
poetry 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 { src = python-super.fetchPypi {
inherit pname version; inherit pname version;