python3Packages.swspotify: Fix dependencies
This commit is contained in:
parent
733db11207
commit
b795b57bce
@ -18,7 +18,8 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace 'requests>=2.24.0' 'requests~=2.23'
|
--replace 'requests>=2.24.0' 'requests~=2.23' \
|
||||||
|
--replace 'flask-cors==3.0.8' 'flask-cors'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
@ -27,6 +28,8 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
checkInputs = [ pytestCheckHook mock ];
|
checkInputs = [ pytestCheckHook mock ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "SwSpotify" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/SwagLyrics/SwSpotify";
|
homepage = "https://github.com/SwagLyrics/SwSpotify";
|
||||||
description = "Library to get the currently playing song and artist from Spotify";
|
description = "Library to get the currently playing song and artist from Spotify";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user