15 buildPythonPackage rec {
20 disabled = pythonOlder "3.8";
22 src = fetchFromGitHub {
23 owner = "networktocode";
25 rev = "refs/tags/v${version}";
26 hash = "sha256-ocajE7E4xIatEmv58/9gEpWF2plJdiZXjk6ajD2vTzw=";
33 propagatedBuildInputs = [
38 passthru.optional-dependencies.optionals = [
50 pythonImportsCheck = [
55 # Tests require network access
56 "test_is_fqdn_resolvable"
61 # OSError: [Errno 22] Invalid argument
64 "test_compare_cisco_type5"
65 "test_get_napalm_getters_napalm_installed_default"
66 "test_encrypt_cisco_type5"
70 description = "Library that is a collection of objects for common network automation tasks";
71 homepage = "https://github.com/networktocode/netutils";
72 changelog = "https://github.com/networktocode/netutils/releases/tag/v${version}";
73 license = licenses.asl20;
74 maintainers = with maintainers; [ fab ];
75 broken = stdenv.isDarwin;