python310Packages.ciscoconfparse: 1.6.36 -> 1.6.40
This commit is contained in:
parent
cbe587c735
commit
5d789b1280
|
@ -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…
Reference in a new issue