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";
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "1.10.17";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-10-21 18:38:19 +00:00
|
|
|
sha256 = "sha256-QoyxsxkJmt/anZ3dfQk3Zn4dRgkOxcgA6aIkFf8asYg=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|