1{ lib
2, buildPythonPackage
3, fetchPypi
4, isPy3k
5, httplib2
6, keyring
7, lazr-restfulclient
8, lazr-uri
9, setuptools
10, six
11, testresources
12, wadllib
13}:
14
15buildPythonPackage rec {
16 pname = "launchpadlib";
17 version = "1.10.13";
18
19 src = fetchPypi {
20 inherit pname version;
21 sha256 = "5804d68ec93247194449d17d187e949086da0a4d044f12155fad269ef8515435";
22 };
23
24 propagatedBuildInputs = [
25 httplib2
26 keyring
27 lazr-restfulclient
28 lazr-uri
29 setuptools
30 six
31 testresources
32 wadllib
33 ];
34
35 preCheck = ''
36 export HOME=$TMPDIR
37 '';
38
39 doCheck = isPy3k;
40
41 meta = with lib; {
42 description = "Script Launchpad through its web services interfaces. Officially supported";
43 homepage = "https://help.launchpad.net/API/launchpadlib";
44 license = licenses.lgpl3;
45 maintainers = [ maintainers.marsam ];
46 };
47}