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, pytestCheckHook 14}: 15 16buildPythonPackage rec { 17 pname = "launchpadlib"; 18 version = "1.10.15.1"; 19 20 src = fetchPypi { 21 inherit pname version; 22 sha256 = "4891f5b0c9bafbbb78aa06eeba1635629663c6aa80f621bcd1fc1057c8dd14b5"; 23 }; 24 25 propagatedBuildInputs = [ 26 httplib2 27 keyring 28 lazr-restfulclient 29 lazr-uri 30 setuptools 31 six 32 testresources 33 wadllib 34 ]; 35 36 checkInputs = [ pytestCheckHook ]; 37 38 preCheck = '' 39 export HOME=$TMPDIR 40 ''; 41 42 doCheck = isPy3k; 43 44 meta = with lib; { 45 description = "Script Launchpad through its web services interfaces. Officially supported"; 46 homepage = "https://help.launchpad.net/API/launchpadlib"; 47 license = licenses.lgpl3Only; 48 maintainers = [ maintainers.marsam ]; 49 }; 50}