mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nix-repo.git
synced 2024-11-29 23:41:29 +00:00
Backport graphql-core to NixOS 21.11
This commit is contained in:
parent
df1d3a3086
commit
3b51e2d4ee
19
default.nix
19
default.nix
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue