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