2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy3k
|
|
|
|
, httplib2
|
|
|
|
, keyring
|
|
|
|
, lazr-restfulclient
|
|
|
|
, lazr-uri
|
|
|
|
, setuptools
|
|
|
|
, six
|
|
|
|
, testresources
|
|
|
|
, wadllib
|
2021-02-22 21:28:39 +00:00
|
|
|
, pytestCheckHook
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "launchpadlib";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "1.10.15.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-06 16:07:01 +00:00
|
|
|
sha256 = "4891f5b0c9bafbbb78aa06eeba1635629663c6aa80f621bcd1fc1057c8dd14b5";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
httplib2
|
|
|
|
keyring
|
|
|
|
lazr-restfulclient
|
|
|
|
lazr-uri
|
|
|
|
setuptools
|
|
|
|
six
|
|
|
|
testresources
|
|
|
|
wadllib
|
|
|
|
];
|
|
|
|
|
2021-02-22 21:28:39 +00:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
preCheck = ''
|
|
|
|
export HOME=$TMPDIR
|
|
|
|
'';
|
|
|
|
|
|
|
|
doCheck = isPy3k;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Script Launchpad through its web services interfaces. Officially supported";
|
|
|
|
homepage = "https://help.launchpad.net/API/launchpadlib";
|
2021-02-22 21:28:39 +00:00
|
|
|
license = licenses.lgpl3Only;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
|
|
|
}
|