perlPackages.NetAsyncWebSocket: 0.13 -> 0.14 (#352432)
[NixPkgs.git] / pkgs / development / python-modules / ncclient / default.nix
blob3a8812b5426c24e34df98acf969801e8c581c621
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   lxml,
6   paramiko,
7   pytestCheckHook,
8   pythonOlder,
9   six,
12 buildPythonPackage rec {
13   pname = "ncclient";
14   version = "0.6.16";
15   format = "setuptools";
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = pname;
21     repo = pname;
22     rev = "refs/tags/v${version}";
23     hash = "sha256-IMCMlGt5/G4PRz525ZomsovU55vBnGhHndBtC7ym6lc=";
24   };
26   propagatedBuildInputs = [
27     paramiko
28     lxml
29     six
30   ] ++ paramiko.optional-dependencies.ed25519;
32   nativeCheckInputs = [ pytestCheckHook ];
34   pythonImportsCheck = [ "ncclient" ];
36   meta = with lib; {
37     description = "Python library for NETCONF clients";
38     homepage = "https://github.com/ncclient/ncclient";
39     changelog = "https://github.com/ncclient/ncclient/releases/tag/v${version}";
40     license = licenses.asl20;
41     maintainers = with maintainers; [ xnaveira ];
42   };