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.12"; 13 14 src = fetchFromGitHub { 15 owner = pname; 16 repo = pname; 17 rev = "v${version}"; 18 sha256 = "1sjvqaxb54nmqljiw5bg1423msa9rg015wiix9fsm6djk3wpklmk"; 19 }; 20 21 propagatedBuildInputs = [ 22 paramiko 23 lxml 24 selectors2 25 ]; 26 27 checkInputs = [ 28 pytestCheckHook 29 ]; 30 31 pythonImportsCheck = [ "ncclient" ]; 32 33 meta = with lib; { 34 homepage = "https://github.com/ncclient/ncclient"; 35 description = "Python library for NETCONF clients"; 36 license = licenses.asl20; 37 maintainers = with maintainers; [ xnaveira ]; 38 }; 39}