From 9619856afe9a7ed57e60d99a1cd85f0569b9d894 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 28 Oct 2022 04:20:00 +0000 Subject: [PATCH] python310Packages.launchpadlib: 1.10.17 -> 1.10.18 --- .../python-modules/launchpadlib/default.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/launchpadlib/default.nix b/pkgs/development/python-modules/launchpadlib/default.nix index 8ad74504e84b..10f7405a268a 100644 --- a/pkgs/development/python-modules/launchpadlib/default.nix +++ b/pkgs/development/python-modules/launchpadlib/default.nix @@ -15,11 +15,12 @@ buildPythonPackage rec { pname = "launchpadlib"; - version = "1.10.17"; + version = "1.10.18"; + format = "pyproject"; src = fetchPypi { inherit pname version; - sha256 = "sha256-QoyxsxkJmt/anZ3dfQk3Zn4dRgkOxcgA6aIkFf8asYg="; + sha256 = "sha256-uFRv4XrKUUfSRq0gd4xKVUTrR6+RsYUVJDePpo8tcmQ="; }; propagatedBuildInputs = [ @@ -33,7 +34,9 @@ buildPythonPackage rec { wadllib ]; - checkInputs = [ pytestCheckHook ]; + checkInputs = [ + pytestCheckHook + ]; preCheck = '' export HOME=$TMPDIR @@ -41,6 +44,12 @@ buildPythonPackage rec { doCheck = isPy3k; + pythonImportsCheck = [ + "launchpadlib" + "launchpadlib.apps" + "launchpadlib.credentials" + ]; + meta = with lib; { description = "Script Launchpad through its web services interfaces. Officially supported"; homepage = "https://help.launchpad.net/API/launchpadlib";