Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.5 kB · 77 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778{ lib, appdirs, buildPythonPackage, defusedxml, fetchFromGitHub, marshmallow, pytest-datafiles, pytest-vcr, pytestCheckHook, python-box, python-dateutil, pythonOlder, requests, requests-pkcs12, responses, restfly, semver, typing-extensions}:
buildPythonPackage rec { pname = "pytenable"; version = "1.4.13"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "tenable"; repo = "pyTenable"; rev = "refs/tags/${version}"; hash = "sha256-UY3AFnPplmU0jrV4LIKH4+2tcJEFkKMqO2GWVkgaHYE="; };
propagatedBuildInputs = [ semver ];
buildInputs = [ appdirs defusedxml marshmallow python-box python-dateutil requests requests-pkcs12 restfly typing-extensions ];
nativeCheckInputs = [ responses pytest-datafiles pytest-vcr pytestCheckHook ];
disabledTests = [ # Disable tests that requires a Docker container "test_uploads_docker_push_name_typeerror" "test_uploads_docker_push_tag_typeerror" "test_uploads_docker_push_cs_name_typeerror" "test_uploads_docker_push_cs_tag_typeerror" ];
pythonImportsCheck = [ "tenable" ];
meta = with lib; { description = "Python library for the Tenable.io and TenableSC API"; homepage = "https://github.com/tenable/pyTenable"; changelog = "https://github.com/tenable/pyTenable/releases/tag/${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}