Something went wrong. Try again.
lol
Something went wrong. Try again.
936 B · 54 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ lib, buildPythonPackage, fetchPypi, httplib2, lazr-restfulclient, lazr-uri, setuptools, six, testresources, pytestCheckHook,}:
buildPythonPackage rec { pname = "launchpadlib"; version = "2.1.0"; pyproject = true;
src = fetchPypi { inherit pname version; hash = "sha256-tMJYkLt1BQ1UwIEj0nMxVreKWaJVX1Rh9psORM2RJC8="; };
build-system = [ setuptools ];
dependencies = [ httplib2 lazr-restfulclient lazr-uri six ];
nativeCheckInputs = [ pytestCheckHook testresources ];
preCheck = '' export HOME=$TMPDIR '';
pythonImportsCheck = [ "launchpadlib" "launchpadlib.apps" "launchpadlib.credentials" ];
meta = { description = "Script Launchpad through its web services interfaces. Officially supported"; homepage = "https://help.launchpad.net/API/launchpadlib"; license = lib.licenses.lgpl3Only; maintainers = [ ]; };}