mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-27 14:34:33 +00:00
python312Packages.pyeapi: add patch to replace imp
This commit is contained in:
parent
f03249355c
commit
2f12e41de3
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, setuptools
|
||||
, mock
|
||||
, netaddr
|
||||
@ -22,6 +23,15 @@ buildPythonPackage rec {
|
||||
sha256 = "sha256-GZBoCoAqij54rZezRDF/ihJDQ5T6FFyDSRXGV3//avQ=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Replace imp, https://github.com/arista-eosplus/pyeapi/pull/295
|
||||
(fetchpatch {
|
||||
name = "replace-imp.patch";
|
||||
url = "https://github.com/arista-eosplus/pyeapi/commit/1f2d8e1fa61566082ccb11a1a17e0f3d8a0c89df.patch";
|
||||
hash = "sha256-ONviRU6eUUZ+TTJ4F41ZXqavW7RIi1MBO7s7OsnWknk=";
|
||||
})
|
||||
];
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user