lesscpy: fix build after pkg_resources removal

This commit is contained in:
FliegendeWurst
2026-07-20 16:49:43 +02:00
parent c9a4253fa2
commit 20b9907fbe

View File

@@ -2,6 +2,7 @@
lib,
python3Packages,
fetchPypi,
fetchpatch,
}:
python3Packages.buildPythonPackage rec {
@@ -14,6 +15,14 @@ python3Packages.buildPythonPackage rec {
hash = "sha256-EEXRepj2iGRsp1jf8lTm6cA3RWSOBRoIGwOVw7d8gkw=";
};
patches = [
# remove use of pkg_resources (drop on next release)
(fetchpatch {
url = "https://github.com/lesscpy/lesscpy/commit/bd8949579713c9d4ff9e15799a26fcecdf73530e.patch";
hash = "sha256-U1VDqZqHYaUmND5qCkARyU/eDv2QRhGcCDzuN4+XTbo=";
})
];
build-system = with python3Packages; [ setuptools ];
dependencies = with python3Packages; [