2021-10-11 20:40:25 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, certifi
|
|
|
|
, charset-normalizer
|
|
|
|
, fetchFromGitHub
|
|
|
|
, idna
|
|
|
|
, lxml
|
|
|
|
, pytest-mock
|
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
, requests
|
|
|
|
, responses
|
|
|
|
, urllib3
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "qualysclient";
|
2023-03-13 04:40:45 +00:00
|
|
|
version = "0.0.4.8.3";
|
2021-10-11 20:40:25 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "woodtechie1428";
|
|
|
|
repo = pname;
|
2023-03-13 04:40:45 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2023-03-13 07:35:46 +00:00
|
|
|
hash = "sha256-+SZICysgSC4XeXC9CCl6Yxb47V9c1eMp7KcpH8J7kK0=";
|
2021-10-11 20:40:25 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
certifi
|
|
|
|
charset-normalizer
|
|
|
|
idna
|
|
|
|
lxml
|
|
|
|
requests
|
|
|
|
urllib3
|
|
|
|
];
|
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [
|
2021-10-11 20:40:25 +00:00
|
|
|
pytest-mock
|
|
|
|
pytestCheckHook
|
|
|
|
responses
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"qualysclient"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python SDK for interacting with the Qualys API";
|
|
|
|
homepage = "https://qualysclient.readthedocs.io/";
|
2023-03-13 07:35:46 +00:00
|
|
|
changelog = "https://github.com/woodtechie1428/qualysclient/releases/tag/v${version}";
|
2021-10-11 20:40:25 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|