python3Packages.ciscoconfparse: 1.6.21 -> 1.6.36
This commit is contained in:
parent
5531b1ec05
commit
1f414bd194
@ -1,26 +1,54 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, passlib, dnspython, loguru, toml
|
||||
, ipaddr, poetry, poetry-core, black, Fabric, pytest, sphinx }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, passlib
|
||||
, dnspython
|
||||
, loguru
|
||||
, toml
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ciscoconfparse";
|
||||
version = "1.6.21";
|
||||
version = "1.6.36";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mpenning";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1d6nzhmdg7zlg1h3lm4v7j4hsb2aqd475r5q5vcqxfdxszc92w21";
|
||||
sha256 = "sha256-nIuuqAxz8eHEQRuH8nfYVQ+vGMmcDcARJLizoI5Mty8=";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
postPatch = ''
|
||||
patchShebangs tests
|
||||
'';
|
||||
|
||||
propagatedBuildInputs =
|
||||
[ passlib dnspython loguru toml ipaddr poetry black Fabric sphinx ];
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
propagatedBuildInputs = [
|
||||
passlib
|
||||
dnspython
|
||||
loguru
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
"tests/parse_test.py"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"test_dns_lookup"
|
||||
"test_reverse_dns_lookup"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "ciscoconfparse" ];
|
||||
|
||||
meta = with lib; {
|
||||
description =
|
||||
|
Loading…
Reference in New Issue
Block a user