spotipy: fix build
This commit is contained in:
parent
84145bc263
commit
e1fe7570db
1 changed files with 10 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi, requests }:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, requests, six, mock }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "spotipy";
|
||||
|
@ -9,7 +9,15 @@ buildPythonPackage rec {
|
|||
sha256 = "d1a85b8831ed60d2290ab9bbba289c548fb9680889757252c02dab2f2327d865";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
propagatedBuildInputs = [ requests six ];
|
||||
checkInputs = [ mock ];
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "mock==2.0.0" "mock"
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "spotipy" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://spotipy.readthedocs.org/";
|
||||
|
|
Loading…
Reference in a new issue