Overwrite graphql-core

This commit is contained in:
Inex Code 2022-08-12 18:02:13 +04:00
parent 932febd3dc
commit 9f7bc2a89f

View file

@ -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;