about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2023-08-11 18:02:37 +0200
committerGitHub <noreply@github.com>2023-08-11 18:02:37 +0200
commitf206658e41c0c3dacffc9cd086951b924a4e1aba (patch)
treeff7724cf0f222c680807196133ea61660bb6a4d7 /pkgs/development
parentce80bca4490b34d38068947b796629f6e616d99d (diff)
parent4a7c2a14b017a65327e04f1bbb3eaf2a5d5d2df2 (diff)
Merge pull request #248494 from fabaff/netutils-bump
python311Packages.netutils: 1.4.1 -> 1.5.0
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/netutils/default.nix18
1 files changed, 13 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/netutils/default.nix b/pkgs/development/python-modules/netutils/default.nix
index 19a5be4077d2a..bee05b436cdc8 100644
--- a/pkgs/development/python-modules/netutils/default.nix
+++ b/pkgs/development/python-modules/netutils/default.nix
@@ -1,8 +1,9 @@
-{ stdenv
-, lib
+{ lib
+, stdenv
 , buildPythonPackage
 , fetchFromGitHub
 , jinja2
+, napalm
 , poetry-core
 , pytestCheckHook
 , pythonOlder
@@ -12,22 +13,26 @@
 
 buildPythonPackage rec {
   pname = "netutils";
-  version = "1.4.1";
+  version = "1.5.0";
   format = "pyproject";
 
-  disabled = pythonOlder "3.7";
+  disabled = pythonOlder "3.8";
 
   src = fetchFromGitHub {
     owner = "networktocode";
     repo = pname;
     rev = "refs/tags/v${version}";
-    hash = "sha256-hSSHCWi0L/ZfFz0JQ6Al5mjhb2g0DpykLF66uMKMIN8=";
+    hash = "sha256-uUw48EBUpEUw+A8wxw3qXrnqmFWQzg/zb+8qAGRSlUw=";
   };
 
   nativeBuildInputs = [
     poetry-core
   ];
 
+  propagatedBuildInputs = [
+    napalm
+  ];
+
   nativeCheckInputs = [
     jinja2
     pytestCheckHook
@@ -49,6 +54,9 @@ buildPythonPackage rec {
     # OSError: [Errno 22] Invalid argument
     "test_compare_type5"
     "test_encrypt_type5"
+    "test_compare_cisco_type5"
+    "test_get_napalm_getters_napalm_installed_default"
+    "test_encrypt_cisco_type5"
   ];
 
   meta = with lib; {