1{ lib 2, buildPythonPackage 3, fetchPypi 4, requests 5, six }: 6 7buildPythonPackage rec { 8 pname = "spotipy"; 9 version = "2.19.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "sha256-kE9ugT26g3dY6VEMG+5R18ohfxaSRmJaE+aTcz3DNUM="; 14 }; 15 16 propagatedBuildInputs = [ requests six ]; 17 18 # tests want to access the spotify API 19 doCheck = false; 20 pythonImportsCheck = [ 21 "spotipy" 22 "spotipy.oauth2" 23 ]; 24 25 meta = with lib; { 26 homepage = "https://spotipy.readthedocs.org/"; 27 changelog = "https://github.com/plamere/spotipy/blob/${version}/CHANGELOG.md"; 28 description = "A light weight Python library for the Spotify Web API"; 29 license = licenses.mit; 30 maintainers = with maintainers; [ rvolosatovs ]; 31 }; 32}