Merge pull request #171717 from fabaff/ciscoconfparse-bump

python310Packages.ciscoconfparse: 1.6.36 -> 1.6.40
main
Fabian Affolter 2 years ago committed by GitHub
commit db93c2fdda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 25
      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 ];
};
}

Loading…
Cancel
Save