python313Packages.netutils: 1.13.0 -> 1.14.1 (#433580)

authored by

Fabian Affolter and committed by
GitHub
05e2f874 6c479e1d

+21 -8
+19 -6
pkgs/development/python-modules/napalm/hp-procurve.nix
··· 5 5 napalm, 6 6 netmiko, 7 7 pip, 8 + pytest-cov-stub, 8 9 pytestCheckHook, 9 10 pythonOlder, 11 + setuptools, 12 + standard-telnetlib, 10 13 }: 11 14 12 15 buildPythonPackage rec { 13 16 pname = "napalm-hp-procurve"; 14 17 version = "0.7.0"; 15 - format = "setuptools"; 18 + pyproject = true; 16 19 17 20 disabled = pythonOlder "3.8"; 18 21 19 22 src = fetchFromGitHub { 20 23 owner = "napalm-automation-community"; 21 24 repo = "napalm-hp-procurve"; 22 - rev = "refs/tags/${version}"; 25 + tag = version; 23 26 hash = "sha256-cO4kxI90krj1knzixRKWxa77OAaxjO8dLTy02VpkV9M="; 24 27 }; 25 28 ··· 27 30 # Dependency installation in setup.py doesn't work 28 31 echo -n > requirements.txt 29 32 substituteInPlace setup.cfg \ 30 - --replace "--cov=napalm_procurve --cov-report term-missing -vs --pylama" "" 33 + --replace " --pylama" "" 31 34 ''; 32 35 33 - nativeBuildInputs = [ pip ]; 36 + build-system = [ 37 + setuptools 38 + pip 39 + ]; 34 40 35 41 buildInputs = [ napalm ]; 36 42 37 - propagatedBuildInputs = [ netmiko ]; 43 + dependencies = [ 44 + netmiko 45 + standard-telnetlib 46 + ]; 38 47 39 - nativeCheckInputs = [ pytestCheckHook ]; 48 + nativeCheckInputs = [ 49 + pytest-cov-stub 50 + pytestCheckHook 51 + ]; 40 52 41 53 disabledTests = [ 42 54 # AssertionError: Some methods vary. ··· 53 65 meta = with lib; { 54 66 description = "HP ProCurve Driver for NAPALM automation frontend"; 55 67 homepage = "https://github.com/napalm-automation-community/napalm-hp-procurve"; 68 + changelog = "https://github.com/napalm-automation-community/napalm-hp-procurve/releases/tag/${src.tag}"; 56 69 license = licenses.asl20; 57 70 maintainers = [ ]; 58 71 };
+2 -2
pkgs/development/python-modules/netutils/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "netutils"; 17 - version = "1.13.0"; 17 + version = "1.14.1"; 18 18 pyproject = true; 19 19 20 20 disabled = pythonOlder "3.8"; ··· 23 23 owner = "networktocode"; 24 24 repo = "netutils"; 25 25 tag = "v${version}"; 26 - hash = "sha256-lUtxTzL3nkdICvTKozdnyx1wtwE4xwY7mcUqv3Wgw3Y="; 26 + hash = "sha256-w+31rv/0EgAT8gv/Oqlbq/djbHIgK3YF792sxBDXHEQ="; 27 27 }; 28 28 29 29 build-system = [ poetry-core ];