nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 41 lines 783 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 redis, 6 requests, 7 urllib3, 8}: 9 10buildPythonPackage rec { 11 pname = "spotipy"; 12 version = "2.25.2"; 13 format = "setuptools"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-XtRcBEFWylUYmX4lArHyweczZAfLH7j+ES0US01Sgsg="; 18 }; 19 20 propagatedBuildInputs = [ 21 redis 22 requests 23 urllib3 24 ]; 25 26 # Tests want to access the spotify API 27 doCheck = false; 28 29 pythonImportsCheck = [ 30 "spotipy" 31 "spotipy.oauth2" 32 ]; 33 34 meta = { 35 description = "Library for the Spotify Web API"; 36 homepage = "https://spotipy.readthedocs.org/"; 37 changelog = "https://github.com/plamere/spotipy/blob/${version}/CHANGELOG.md"; 38 license = lib.licenses.mit; 39 maintainers = with lib.maintainers; [ rvolosatovs ]; 40 }; 41}