1{ lib 2, buildPythonPackage 3, certifi 4, charset-normalizer 5, fetchFromGitHub 6, idna 7, lxml 8, pytest-mock 9, pytestCheckHook 10, pythonOlder 11, requests 12, responses 13, urllib3 14}: 15 16buildPythonPackage rec { 17 pname = "qualysclient"; 18 version = "0.0.4.8.2"; 19 format = "setuptools"; 20 21 disabled = pythonOlder "3.6"; 22 23 src = fetchFromGitHub { 24 owner = "woodtechie1428"; 25 repo = pname; 26 rev = "v${version}"; 27 sha256 = "0hrbp5ci1l06j709k5y3z3ad9dryvrkvmc2wyb4a01gw7qzry7ys"; 28 }; 29 30 propagatedBuildInputs = [ 31 certifi 32 charset-normalizer 33 idna 34 lxml 35 requests 36 urllib3 37 ]; 38 39 checkInputs = [ 40 pytest-mock 41 pytestCheckHook 42 responses 43 ]; 44 45 pythonImportsCheck = [ 46 "qualysclient" 47 ]; 48 49 meta = with lib; { 50 description = "Python SDK for interacting with the Qualys API"; 51 homepage = "https://qualysclient.readthedocs.io/"; 52 license = licenses.mit; 53 maintainers = with maintainers; [ fab ]; 54 }; 55}