0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

Merge pull request #249519 from tjni/graphql-relay

python3.pkgs.graphql-relay: patch out setuptools dependency
This commit is contained in:
OTABI Tomoya 2023-08-18 11:35:34 +09:00 committed by GitHub
commit d2707373f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,6 +27,16 @@ buildPythonPackage rec {
hash = "sha256-H/HFEpg1bkgaC+AJzN/ySYMs5T8wVZwTOPIqDg0XJQw=";
};
# This project doesn't seem to actually need setuptools. To find out why it
# specifies it, follow up in:
#
# https://github.com/graphql-python/graphql-relay-py/issues/49
#
postPatch = ''
substituteInPlace pyproject.toml \
--replace ', "setuptools>=59,<70"' ""
'';
nativeBuildInputs = [
poetry-core
];