python3Packages.netmiko: 4.2.0 -> 4.3.0

This commit is contained in:
Martin Weinelt 2023-12-03 00:01:34 +01:00
parent 2b47bd728f
commit 0effd219d7
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -1,18 +1,47 @@
{ lib, buildPythonPackage, fetchPypi, setuptools, paramiko, scp, tenacity { lib
, textfsm, ntc-templates, pyserial, pytestCheckHook, pyyaml }: , buildPythonPackage
, fetchPypi
# build-system
, poetry-core
# dependencies
, ntc-templates
, paramiko
, pyserial
, pyyaml
, scp
, textfsm
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "netmiko"; pname = "netmiko";
version = "4.2.0"; version = "4.3.0";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-et3m/j6mMzYij0moY2UMLYP7DmgODw0Vi1sPsExBAOE="; hash = "sha256-2pD2798ztBQOts1/InJ3PCzhRPp0rDTV7KwbTUYH8fs=";
}; };
buildInputs = [ setuptools ]; postPatch = ''
propagatedBuildInputs = [ paramiko scp tenacity pyyaml textfsm ntc-templates pyserial ]; substituteInPlace pyproject.toml \
--replace "poetry==1.3.2" "poetry-core" \
--replace "poetry.masonry.api" "poetry.core.masonry.api"
'';
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
ntc-templates
paramiko
pyserial
pyyaml
scp
textfsm
];
# tests require closed-source pyats and genie packages # tests require closed-source pyats and genie packages
doCheck = false; doCheck = false;