mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-11 06:34:13 +00:00
![Guillaume Girol](/assets/img/avatar_default.png)
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
56 lines
948 B
Nix
56 lines
948 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, certifi
|
|
, charset-normalizer
|
|
, fetchFromGitHub
|
|
, idna
|
|
, lxml
|
|
, pytest-mock
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, requests
|
|
, responses
|
|
, urllib3
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "qualysclient";
|
|
version = "0.0.4.8.2";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "woodtechie1428";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0hrbp5ci1l06j709k5y3z3ad9dryvrkvmc2wyb4a01gw7qzry7ys";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
certifi
|
|
charset-normalizer
|
|
idna
|
|
lxml
|
|
requests
|
|
urllib3
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-mock
|
|
pytestCheckHook
|
|
responses
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"qualysclient"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python SDK for interacting with the Qualys API";
|
|
homepage = "https://qualysclient.readthedocs.io/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|