napalm: init at 3.3.1

This commit is contained in:
Astro
2022-01-25 15:56:27 +01:00
parent 5c3829a8b1
commit bae61a5785
8 changed files with 216 additions and 0 deletions
@@ -0,0 +1,32 @@
{ lib, buildPythonPackage, fetchFromGitHub, passlib, dnspython, loguru, toml
, ipaddr, poetry, poetry-core, black, Fabric, pytest, sphinx }:
buildPythonPackage rec {
pname = "ciscoconfparse";
version = "1.6.21";
format = "pyproject";
src = fetchFromGitHub {
owner = "mpenning";
repo = pname;
rev = version;
sha256 = "1d6nzhmdg7zlg1h3lm4v7j4hsb2aqd475r5q5vcqxfdxszc92w21";
};
patchPhase = ''
patchShebangs tests
'';
propagatedBuildInputs =
[ passlib dnspython loguru toml ipaddr poetry black Fabric sphinx ];
checkInputs = [ pytest ];
meta = with lib; {
description =
"Parse, Audit, Query, Build, and Modify Cisco IOS-style configurations";
homepage = "https://github.com/mpenning/ciscoconfparse";
license = licenses.gpl3Only;
maintainers = [ maintainers.astro ];
};
}