mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-12-06 04:40:10 +00:00
[staging-next] python3Packages.gpg: fix build with swig 4.5 (#591057)
This commit is contained in:
@@ -20,6 +20,13 @@ buildPythonPackage rec {
|
||||
hash = "sha256-B+EmVkj/UdojjJr3oYs/HcewxmtPIacvJ8dLOWzTM20=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchurl {
|
||||
url = "https://src.fedoraproject.org/rpms/gpgmepy/raw/e9a499ec29dace6e5942e9b58b406920f3d7b8b4/f/0001-Drop-Python-2-compatibility.patch";
|
||||
hash = "sha256-qJ8hDTghRmRSV9qe1CkLWtk1ZMx1NdUqe4D2hWhzYak=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail ', "swig"' ""
|
||||
|
||||
Reference in New Issue
Block a user