pythonPackages.launchpadlib: fix tests by using pytestCheckHook, update license

This commit is contained in:
Sandro Jäckel 2021-02-19 19:13:58 +01:00 committed by github-actions[bot]
parent e59a33db58
commit 6ef7199222

View File

@ -10,6 +10,7 @@
, six , six
, testresources , testresources
, wadllib , wadllib
, pytestCheckHook
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -32,6 +33,8 @@ buildPythonPackage rec {
wadllib wadllib
]; ];
checkInputs = [ pytestCheckHook ];
preCheck = '' preCheck = ''
export HOME=$TMPDIR export HOME=$TMPDIR
''; '';
@ -41,7 +44,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Script Launchpad through its web services interfaces. Officially supported"; description = "Script Launchpad through its web services interfaces. Officially supported";
homepage = "https://help.launchpad.net/API/launchpadlib"; homepage = "https://help.launchpad.net/API/launchpadlib";
license = licenses.lgpl3; license = licenses.lgpl3Only;
maintainers = [ maintainers.marsam ]; maintainers = [ maintainers.marsam ];
}; };
} }