python313Packages.netutils: 1.13.0 -> 1.14.1 (#433580)
This commit is contained in:
commit
05e2f87485
@ -5,21 +5,24 @@
|
|||||||
napalm,
|
napalm,
|
||||||
netmiko,
|
netmiko,
|
||||||
pip,
|
pip,
|
||||||
|
pytest-cov-stub,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
pythonOlder,
|
pythonOlder,
|
||||||
|
setuptools,
|
||||||
|
standard-telnetlib,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "napalm-hp-procurve";
|
pname = "napalm-hp-procurve";
|
||||||
version = "0.7.0";
|
version = "0.7.0";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "napalm-automation-community";
|
owner = "napalm-automation-community";
|
||||||
repo = "napalm-hp-procurve";
|
repo = "napalm-hp-procurve";
|
||||||
rev = "refs/tags/${version}";
|
tag = version;
|
||||||
hash = "sha256-cO4kxI90krj1knzixRKWxa77OAaxjO8dLTy02VpkV9M=";
|
hash = "sha256-cO4kxI90krj1knzixRKWxa77OAaxjO8dLTy02VpkV9M=";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -27,16 +30,25 @@ buildPythonPackage rec {
|
|||||||
# Dependency installation in setup.py doesn't work
|
# Dependency installation in setup.py doesn't work
|
||||||
echo -n > requirements.txt
|
echo -n > requirements.txt
|
||||||
substituteInPlace setup.cfg \
|
substituteInPlace setup.cfg \
|
||||||
--replace "--cov=napalm_procurve --cov-report term-missing -vs --pylama" ""
|
--replace " --pylama" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ pip ];
|
build-system = [
|
||||||
|
setuptools
|
||||||
|
pip
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [ napalm ];
|
buildInputs = [ napalm ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ netmiko ];
|
dependencies = [
|
||||||
|
netmiko
|
||||||
|
standard-telnetlib
|
||||||
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [ pytestCheckHook ];
|
nativeCheckInputs = [
|
||||||
|
pytest-cov-stub
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# AssertionError: Some methods vary.
|
# AssertionError: Some methods vary.
|
||||||
@ -53,6 +65,7 @@ buildPythonPackage rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "HP ProCurve Driver for NAPALM automation frontend";
|
description = "HP ProCurve Driver for NAPALM automation frontend";
|
||||||
homepage = "https://github.com/napalm-automation-community/napalm-hp-procurve";
|
homepage = "https://github.com/napalm-automation-community/napalm-hp-procurve";
|
||||||
|
changelog = "https://github.com/napalm-automation-community/napalm-hp-procurve/releases/tag/${src.tag}";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = [ ];
|
maintainers = [ ];
|
||||||
};
|
};
|
||||||
|
|||||||
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "netutils";
|
pname = "netutils";
|
||||||
version = "1.13.0";
|
version = "1.14.1";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
|||||||
owner = "networktocode";
|
owner = "networktocode";
|
||||||
repo = "netutils";
|
repo = "netutils";
|
||||||
tag = "v${version}";
|
tag = "v${version}";
|
||||||
hash = "sha256-lUtxTzL3nkdICvTKozdnyx1wtwE4xwY7mcUqv3Wgw3Y=";
|
hash = "sha256-w+31rv/0EgAT8gv/Oqlbq/djbHIgK3YF792sxBDXHEQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = [ poetry-core ];
|
build-system = [ poetry-core ];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user