depot/third_party/nixpkgs/pkgs/development/python-modules/launchpadlib/default.nix
Default email e811e7b8dc Project import generated by Copybara.
GitOrigin-RevId: 689b76bcf36055afdeb2e9852f5ecdd2bf483f87
2022-01-23 03:10:13 +01: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.16";
src = fetchPypi {
inherit pname version;
sha256 = "0df4b13936f988afd0ee485f40fa6922eab783b48c38ca0108cb73c8788fca80";
};
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 ];
};
}