mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
python3Packages.swspotify: Fix dependencies
This commit is contained in:
parent
733db11207
commit
b795b57bce
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user