mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nix-repo.git
synced 2024-11-23 04:31:26 +00:00
Overwrite graphql-core
This commit is contained in:
parent
932febd3dc
commit
9f7bc2a89f
34
default.nix
34
default.nix
|
@ -5,6 +5,23 @@ in
|
||||||
self: super: rec {
|
self: super: rec {
|
||||||
python39 = super.python39.override {
|
python39 = super.python39.override {
|
||||||
packageOverrides = python-self: python-super: {
|
packageOverrides = python-self: python-super: {
|
||||||
|
graphql-core = python-super.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"
|
||||||
|
];
|
||||||
|
};
|
||||||
strawberry_graphql = python-super.buildPythonPackage rec {
|
strawberry_graphql = python-super.buildPythonPackage rec {
|
||||||
pname = "strawberry-graphql";
|
pname = "strawberry-graphql";
|
||||||
version = "0.123.0";
|
version = "0.123.0";
|
||||||
|
@ -21,23 +38,6 @@ self: super: rec {
|
||||||
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