a4fd2de975
GitOrigin-RevId: 34ad166a830d3ac1541dcce571c52231f2f0865a
32 lines
740 B
Nix
32 lines
740 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, requests
|
|
, six }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "spotipy";
|
|
version = "2.16.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1f50xczv8kgly6wz6zrvqzwdj6nvhdlgx8wnrhmbipjrb6qacr25";
|
|
};
|
|
|
|
propagatedBuildInputs = [ requests six ];
|
|
|
|
# tests want to access the spotify API
|
|
doCheck = false;
|
|
pythonImportsCheck = [
|
|
"spotipy"
|
|
"spotipy.oauth2"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://spotipy.readthedocs.org/";
|
|
changelog = "https://github.com/plamere/spotipy/blob/${version}/CHANGELOG.md";
|
|
description = "A light weight Python library for the Spotify Web API";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ rvolosatovs ];
|
|
};
|
|
}
|