python3Packages.unearth: unbreak with patch from upstream

fixes https://hydra.nixos.org/build/329669767
This commit is contained in:
Peder Bergebakken Sundt
2026-06-15 01:20:01 +02:00
parent 470a990afa
commit 605519e2ea
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchPypi,
fetchpatch,
packaging,
pdm-backend,
httpx,
@@ -23,6 +24,16 @@ buildPythonPackage rec {
hash = "sha256-HlPX9S9G3V+HXnf/HFWxJHfiFaCS5LZsl2SnffSptSA=";
};
patches = [
# https://github.com/frostming/unearth/pull/176
(fetchpatch {
name = "fix-packaging-26.0-changes.patch";
url = "https://github.com/frostming/unearth/commit/69ece0800edeefb1daf035bb0ee348e17a4393fd.patch";
hash = "sha256-t/Ubv9qC1Fvh4JsnfVgOZO/O7ZpCGHugBUt9qAjnH8c=";
excludes = [ "pdm.lock" ];
})
];
build-system = [ pdm-backend ];
dependencies = [