1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, paramiko 5, selectors2 6, lxml 7, pytestCheckHook 8}: 9 10buildPythonPackage rec { 11 pname = "ncclient"; 12 version = "0.6.13"; 13 14 src = fetchFromGitHub { 15 owner = pname; 16 repo = pname; 17 rev = "v${version}"; 18 sha256 = "sha256-NrilXB1NFcqNCGrwshhuLdhQoeHJ12PSp4MBScT9kYc="; 19 }; 20 21 propagatedBuildInputs = [ 22 paramiko 23 lxml 24 ]; 25 26 checkInputs = [ 27 pytestCheckHook 28 ]; 29 30 pythonImportsCheck = [ "ncclient" ]; 31 32 meta = with lib; { 33 homepage = "https://github.com/ncclient/ncclient"; 34 description = "Python library for NETCONF clients"; 35 license = licenses.asl20; 36 maintainers = with maintainers; [ xnaveira ]; 37 }; 38}