depot/third_party/nixpkgs/pkgs/development/python-modules/launchpadlib/default.nix
Default email 86f042a55b Project import generated by Copybara.
GitOrigin-RevId: c7d0dbe094c988209edac801eb2a0cc21aa498d8
2021-02-22 21:28:39 +00:00

50 lines
893 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
, httplib2
, keyring
, lazr-restfulclient
, lazr-uri
, setuptools
, six
, testresources
, wadllib
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "launchpadlib";
version = "1.10.13";
src = fetchPypi {
inherit pname version;
sha256 = "5804d68ec93247194449d17d187e949086da0a4d044f12155fad269ef8515435";
};
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 ];
};
}