Loading pkgs/development/python-modules/graphql-core/default.nix +15 −6 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, py, poetry-core, pytest-benchmark, pytest-asyncio, pytestCheckHook, Loading @@ -11,20 +11,28 @@ buildPythonPackage rec { pname = "graphql-core"; version = "3.2.4"; format = "setuptools"; version = "3.2.5"; pyproject = true; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "graphql-python"; repo = pname; repo = "graphql-core"; rev = "refs/tags/v${version}"; hash = "sha256-LWmUrkYZuyzQ89Z3dXrce1xk3NODXrHWvWG9zAYTUi0="; hash = "sha256-xZOiQOFWnImDXuvHP9V6BDjIZwlwHSxN/os+UYV4A0M="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace-fail ', "setuptools>=59,<70"' "" ''; build-system = [ poetry-core ]; nativeCheckInputs = [ py pytest-asyncio pytest-benchmark pytestCheckHook Loading @@ -33,6 +41,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "graphql" ]; meta = with lib; { changelog = "https://github.com/graphql-python/graphql-core/releases/tag/${lib.removePrefix "refs/tags/" src.rev}"; description = "Port of graphql-js to Python"; homepage = "https://github.com/graphql-python/graphql-core"; license = licenses.mit; Loading Loading
pkgs/development/python-modules/graphql-core/default.nix +15 −6 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, py, poetry-core, pytest-benchmark, pytest-asyncio, pytestCheckHook, Loading @@ -11,20 +11,28 @@ buildPythonPackage rec { pname = "graphql-core"; version = "3.2.4"; format = "setuptools"; version = "3.2.5"; pyproject = true; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "graphql-python"; repo = pname; repo = "graphql-core"; rev = "refs/tags/v${version}"; hash = "sha256-LWmUrkYZuyzQ89Z3dXrce1xk3NODXrHWvWG9zAYTUi0="; hash = "sha256-xZOiQOFWnImDXuvHP9V6BDjIZwlwHSxN/os+UYV4A0M="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace-fail ', "setuptools>=59,<70"' "" ''; build-system = [ poetry-core ]; nativeCheckInputs = [ py pytest-asyncio pytest-benchmark pytestCheckHook Loading @@ -33,6 +41,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "graphql" ]; meta = with lib; { changelog = "https://github.com/graphql-python/graphql-core/releases/tag/${lib.removePrefix "refs/tags/" src.rev}"; description = "Port of graphql-js to Python"; homepage = "https://github.com/graphql-python/graphql-core"; license = licenses.mit; Loading