python313Packages.napalm: remove telnetlib usage

Instead it now uses a telnetlib vendored in netmiko.
This commit is contained in:
Martin Weinelt 2025-05-23 02:12:26 +02:00 committed by Robert Schütz
parent e4937a385c
commit 9c8f813aa9

View File

@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
pythonOlder,
# build-system
@ -46,6 +47,16 @@ buildPythonPackage rec {
hash = "sha256-Abw3h69qTFwOOFeAfivqAIWLozErJ1yZZfx7CbMy1AI=";
};
patches = [
(fetchpatch {
url = "https://github.com/napalm-automation/napalm/commit/7e509869f7cb56892380629d1cb5f99e3e2c6190.patch";
hash = "sha256-vJDACa5SmSJ/rcmKEow4Prqju/jYcCrzGpTdEYsAPq0=";
includes = [
"napalm/ios/ios.py"
];
})
];
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [