depot/third_party/nixpkgs/pkgs/development/python-modules/ncclient/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

38 lines
689 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, paramiko
, selectors2
, lxml
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "ncclient";
version = "0.6.13";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "sha256-NrilXB1NFcqNCGrwshhuLdhQoeHJ12PSp4MBScT9kYc=";
};
propagatedBuildInputs = [
paramiko
lxml
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "ncclient" ];
meta = with lib; {
homepage = "https://github.com/ncclient/ncclient";
description = "Python library for NETCONF clients";
license = licenses.asl20;
maintainers = with maintainers; [ xnaveira ];
};
}