python3Packages.pylast: enable tests

This commit is contained in:
Fabian Affolter 2021-03-18 10:21:12 +01:00
parent f70cac3b3d
commit 35abe19ff0

View file

@ -1,10 +1,12 @@
{ lib
, buildPythonPackage
, fetchPypi
, certifi
, six
, setuptools-scm
, fetchPypi
, flaky
, pytestCheckHook
, pythonOlder
, setuptools-scm
, six
}:
buildPythonPackage rec {
@ -19,10 +21,17 @@ buildPythonPackage rec {
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ certifi six ];
propagatedBuildInputs = [
certifi
six
];
# tests require last.fm credentials
doCheck = false;
checkInputs = [
pytestCheckHook
flaky
];
pythonImportsCheck = [ "pylast" ];
meta = with lib; {
description = "Python interface to last.fm (and compatibles)";