Merge pull request #171717 from fabaff/ciscoconfparse-bump
python310Packages.ciscoconfparse: 1.6.36 -> 1.6.40
This commit is contained in:
commit
db93c2fdda
@ -1,24 +1,27 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
|
||||||
, poetry-core
|
|
||||||
, passlib
|
|
||||||
, dnspython
|
, dnspython
|
||||||
|
, fetchFromGitHub
|
||||||
, loguru
|
, loguru
|
||||||
, toml
|
, passlib
|
||||||
|
, poetry-core
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, toml
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "ciscoconfparse";
|
pname = "ciscoconfparse";
|
||||||
version = "1.6.36";
|
version = "1.6.40";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mpenning";
|
owner = "mpenning";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-nIuuqAxz8eHEQRuH8nfYVQ+vGMmcDcARJLizoI5Mty8=";
|
hash = "sha256-2j1AlCIwTxIjotZ0fSt1zhsgPfJTqJukZ6KQvh74NJ8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -45,17 +48,19 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
|
# Tests require network access
|
||||||
"test_dns_lookup"
|
"test_dns_lookup"
|
||||||
"test_reverse_dns_lookup"
|
"test_reverse_dns_lookup"
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "ciscoconfparse" ];
|
pythonImportsCheck = [
|
||||||
|
"ciscoconfparse"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description =
|
description = "Parse, Audit, Query, Build, and Modify Cisco IOS-style configurations";
|
||||||
"Parse, Audit, Query, Build, and Modify Cisco IOS-style configurations";
|
|
||||||
homepage = "https://github.com/mpenning/ciscoconfparse";
|
homepage = "https://github.com/mpenning/ciscoconfparse";
|
||||||
license = licenses.gpl3Only;
|
license = licenses.gpl3Only;
|
||||||
maintainers = [ maintainers.astro ];
|
maintainers = with maintainers; [ astro ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user