27 buildPythonPackage rec {
32 disabled = pythonOlder "3.7";
34 src = fetchFromGitHub {
37 rev = "refs/tags/${version}";
38 hash = "sha256-kau350L2WCyuxwsmnD85iWte6LIIqprSVe0yNn+BikE=";
46 build-system = [ setuptools ];
73 # Disable tests that requires network access
78 # Disable tests that requires a Docker container
79 "test_uploads_docker_push_name_typeerror"
80 "test_uploads_docker_push_tag_typeerror"
81 "test_uploads_docker_push_cs_name_typeerror"
82 "test_uploads_docker_push_cs_tag_typeerror"
83 # Test requires network access
84 "test_assets_list_vcr"
85 "test_events_list_vcr"
88 pythonImportsCheck = [ "tenable" ];
91 description = "Python library for the Tenable.io and TenableSC API";
92 homepage = "https://github.com/tenable/pyTenable";
93 changelog = "https://github.com/tenable/pyTenable/releases/tag/${version}";
94 license = with licenses; [ mit ];
95 maintainers = with maintainers; [ fab ];