python3.pkgs.regenmaschine: clean up build dependency constraints

This commit is contained in:
Theodore Ni 2023-08-22 15:31:03 -07:00
parent 48962dbf04
commit b219d27192
No known key found for this signature in database
GPG key ID: 48B67583BDDD4474

View file

@ -3,6 +3,7 @@
, aresponses
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, poetry-core
, pytest-aiohttp
, pytest-asyncio
@ -26,6 +27,20 @@ buildPythonPackage rec {
hash = "sha256-W5W/2gBraraZs8ai8tyg3aRWvHt6WOQCVICuiAigae0=";
};
patches = [
# This patch removes references to setuptools and wheel that are no longer
# necessary and changes poetry to poetry-core, so that we don't need to add
# unnecessary nativeBuildInputs.
#
# https://github.com/bachya/regenmaschine/pull/334
#
(fetchpatch {
name = "clean-up-build-dependencies.patch";
url = "https://github.com/bachya/regenmaschine/commit/ecc2f771e2ae2e0a8d46f5beab072df4e4727ba3.patch";
hash = "sha256-RLRbHmaR2A8MNc96WHx0L8ccyygoBUaOulAuRJkFuUM=";
})
];
nativeBuildInputs = [
poetry-core
];