python312Packages.pyeapi: fix re-tag
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
setuptools,
|
||||
mock,
|
||||
netaddr,
|
||||
@@ -20,19 +19,10 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "arista-eosplus";
|
||||
repo = "pyeapi";
|
||||
rev = "refs/tags/v.${version}";
|
||||
hash = "sha256-KDtL+ed9t9QoHVSVR2RQ+1Pll6CJuPrCamNem3keZRo=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-eGNBQSnYMC9YVCw5mBRH6XRq139AcqFm6HnO2FUzLEE=";
|
||||
};
|
||||
|
||||
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 ];
|
||||
|
||||
dependencies = [ netaddr ];
|
||||
|
||||
Reference in New Issue
Block a user