Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / spotipy / default.nix
blob4493eb3d9755fdb2dbfef56e53268505ae8799c7
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , requests
5 , six }:
7 buildPythonPackage rec {
8   pname = "spotipy";
9   version = "2.18.0";
11   src = fetchPypi {
12     inherit pname version;
13     sha256 = "sha256-9yk7gIaWgH6azsa9z/Y/fcw8wbFIwMS0KZ70PJZvcXc=";
14   };
16   propagatedBuildInputs = [ requests six ];
18   # tests want to access the spotify API
19   doCheck = false;
20   pythonImportsCheck = [
21     "spotipy"
22     "spotipy.oauth2"
23   ];
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   };