mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 22:10:14 +00:00
python3Packages.plumbum: fix build on Darwin (#551884)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
hatch-vcs,
|
||||
hatchling,
|
||||
mount,
|
||||
@@ -29,6 +30,14 @@ buildPythonPackage rec {
|
||||
hash = "sha256-i99HpT/QuF9JwX92IwwOqpEVUc/1k39E7N9v9TZ4Qvg=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix parsing processes with an empty STAT field on Darwin
|
||||
(fetchpatch {
|
||||
url = "https://github.com/tomerfiliba/plumbum/commit/217a22f361ea590c77da5f73d1387fe8a57fd742.patch";
|
||||
hash = "sha256-Cp01aeTkJS5wy6ZZs95suzKV/HKziy1YIQtk4jYT2Gg=";
|
||||
})
|
||||
];
|
||||
|
||||
build-system = [
|
||||
hatchling
|
||||
hatch-vcs
|
||||
|
||||
Reference in New Issue
Block a user