From 52e4c7516f8f40c3bdbe87116351a556c2d306a9 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 22 Feb 2020 04:23:00 -0500 Subject: [PATCH] pythonPackages.launchpadlib: init at 1.10.10 --- .../python-modules/launchpadlib/default.nix | 47 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 49 insertions(+) create mode 100644 pkgs/development/python-modules/launchpadlib/default.nix diff --git a/pkgs/development/python-modules/launchpadlib/default.nix b/pkgs/development/python-modules/launchpadlib/default.nix new file mode 100644 index 00000000000..72e3c7f1cf7 --- /dev/null +++ b/pkgs/development/python-modules/launchpadlib/default.nix @@ -0,0 +1,47 @@ +{ lib +, buildPythonPackage +, fetchPypi +, isPy3k +, httplib2 +, keyring +, lazr-restfulclient +, lazr-uri +, setuptools +, six +, testresources +, wadllib +}: + +buildPythonPackage rec { + pname = "launchpadlib"; + version = "1.10.10"; + + src = fetchPypi { + inherit pname version; + sha256 = "740580d72611452804ad7735c9af6944ed4a14fc1a2fcbcddba3fc719b5317f3"; + }; + + propagatedBuildInputs = [ + httplib2 + keyring + lazr-restfulclient + lazr-uri + setuptools + six + testresources + wadllib + ]; + + 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.lgpl3; + maintainers = [ maintainers.marsam ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 5e8856266f2..39d50778a42 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -819,6 +819,8 @@ in { langdetect = callPackage ../development/python-modules/langdetect { }; + launchpadlib = callPackage ../development/python-modules/launchpadlib { }; + lazr_config = callPackage ../development/python-modules/lazr/config.nix { }; lazr_delegates = callPackage ../development/python-modules/lazr/delegates.nix { };