nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 21.05 50 lines 893 B view raw
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.13"; 19 20 src = fetchPypi { 21 inherit pname version; 22 sha256 = "5804d68ec93247194449d17d187e949086da0a4d044f12155fad269ef8515435"; 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}