python3Packages.pylast: enable tests
This commit is contained in:
@@ -1,10 +1,12 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
|
||||||
, certifi
|
, certifi
|
||||||
, six
|
, fetchPypi
|
||||||
, setuptools-scm
|
, flaky
|
||||||
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, setuptools-scm
|
||||||
|
, six
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@@ -19,10 +21,17 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ setuptools-scm ];
|
nativeBuildInputs = [ setuptools-scm ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ certifi six ];
|
propagatedBuildInputs = [
|
||||||
|
certifi
|
||||||
|
six
|
||||||
|
];
|
||||||
|
|
||||||
# tests require last.fm credentials
|
checkInputs = [
|
||||||
doCheck = false;
|
pytestCheckHook
|
||||||
|
flaky
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "pylast" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python interface to last.fm (and compatibles)";
|
description = "Python interface to last.fm (and compatibles)";
|
||||||
|
|||||||
Reference in New Issue
Block a user