c594a97518
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
50 lines
880 B
Nix
50 lines
880 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy3k
|
|
, httplib2
|
|
, keyring
|
|
, lazr-restfulclient
|
|
, lazr-uri
|
|
, setuptools
|
|
, six
|
|
, testresources
|
|
, wadllib
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "launchpadlib";
|
|
version = "1.10.17";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-QoyxsxkJmt/anZ3dfQk3Zn4dRgkOxcgA6aIkFf8asYg=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
httplib2
|
|
keyring
|
|
lazr-restfulclient
|
|
lazr-uri
|
|
setuptools
|
|
six
|
|
testresources
|
|
wadllib
|
|
];
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
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";
|
|
license = licenses.lgpl3Only;
|
|
maintainers = [ maintainers.marsam ];
|
|
};
|
|
}
|