Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 61 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162{ lib, buildPythonPackage, certifi, charset-normalizer, fetchFromGitHub, idna, lxml, pytest-mock, pytestCheckHook, pythonOlder, requests, responses, urllib3}:
buildPythonPackage rec { pname = "qualysclient"; version = "0.0.4.8.3"; format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub { owner = "woodtechie1428"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-+SZICysgSC4XeXC9CCl6Yxb47V9c1eMp7KcpH8J7kK0="; };
postPatch = '' substituteInPlace setup.py \ --replace "version=__version__," 'version="${version}",' '';
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/"; changelog = "https://github.com/woodtechie1428/qualysclient/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };}