diff --git a/pkgs/development/python-modules/ncclient/default.nix b/pkgs/development/python-modules/ncclient/default.nix new file mode 100644 index 000000000000..2c6fcedc0694 --- /dev/null +++ b/pkgs/development/python-modules/ncclient/default.nix @@ -0,0 +1,32 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, pythonPackages +, setuptools +, paramiko +, lxml +, libxml2 +, libxslt +}: + +buildPythonPackage rec { + pname = "ncclient"; + version = "0.5.3"; + + src = fetchPypi { + inherit pname version; + sha256 = "fe6b9c16ed5f1b21f5591da74bfdd91a9bdf69eb4e918f1c06b3c8db307bd32b"; + }; + + + buildInputs = [ + setuptools paramiko lxml libxml2 libxslt + ]; + + meta = with stdenv.lib; { + homepage = http://ncclient.org/; + description = "Python library for NETCONF clients"; + license = licenses.asl20; + maintainers = with maintainers; [ xnaveira ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 807734dc94b7..83b90c42cbbe 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -454,6 +454,8 @@ in { scp = callPackage ../development/python-modules/scp {}; + ncclient = callPackage ../development/python-modules/ncclient {}; + alot = buildPythonPackage rec { rev = "0.5.1"; name = "alot-${rev}";