From 5d789b1280052a68022a2e37432dd102c5d5fc5e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 5 May 2022 23:30:06 +0200 Subject: [PATCH] python310Packages.ciscoconfparse: 1.6.36 -> 1.6.40 --- .../python-modules/ciscoconfparse/default.nix | 25 +++++++++++-------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/ciscoconfparse/default.nix b/pkgs/development/python-modules/ciscoconfparse/default.nix index 49b36a5c658..535c46fc40a 100644 --- a/pkgs/development/python-modules/ciscoconfparse/default.nix +++ b/pkgs/development/python-modules/ciscoconfparse/default.nix @@ -1,24 +1,27 @@ { lib , buildPythonPackage -, fetchFromGitHub -, poetry-core -, passlib , dnspython +, fetchFromGitHub , loguru -, toml +, passlib +, poetry-core , pytestCheckHook +, pythonOlder +, toml }: buildPythonPackage rec { pname = "ciscoconfparse"; - version = "1.6.36"; + version = "1.6.40"; format = "pyproject"; + disabled = pythonOlder "3.7"; + src = fetchFromGitHub { owner = "mpenning"; repo = pname; rev = version; - sha256 = "sha256-nIuuqAxz8eHEQRuH8nfYVQ+vGMmcDcARJLizoI5Mty8="; + hash = "sha256-2j1AlCIwTxIjotZ0fSt1zhsgPfJTqJukZ6KQvh74NJ8="; }; postPatch = '' @@ -45,17 +48,19 @@ buildPythonPackage rec { ]; disabledTests = [ + # Tests require network access "test_dns_lookup" "test_reverse_dns_lookup" ]; - pythonImportsCheck = [ "ciscoconfparse" ]; + pythonImportsCheck = [ + "ciscoconfparse" + ]; meta = with lib; { - description = - "Parse, Audit, Query, Build, and Modify Cisco IOS-style configurations"; + description = "Parse, Audit, Query, Build, and Modify Cisco IOS-style configurations"; homepage = "https://github.com/mpenning/ciscoconfparse"; license = licenses.gpl3Only; - maintainers = [ maintainers.astro ]; + maintainers = with maintainers; [ astro ]; }; }