python3Packages.swspotify: Fix dependencies

This commit is contained in:
Sandro Jäckel 2021-01-08 22:37:57 +01:00
parent 733db11207
commit b795b57bce
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -18,7 +18,8 @@ buildPythonPackage rec {
preConfigure = ''
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 = ''
@ -27,6 +28,8 @@ buildPythonPackage rec {
checkInputs = [ pytestCheckHook mock ];
pythonImportsCheck = [ "SwSpotify" ];
meta = with lib; {
homepage = "https://github.com/SwagLyrics/SwSpotify";
description = "Library to get the currently playing song and artist from Spotify";