nixpkgs/pkgs/development/python-modules/spotipy/default.nix

33 lines
740 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, requests
, six }:
2017-06-11 13:01:10 +01:00
buildPythonPackage rec {
pname = "spotipy";
version = "2.16.1";
2017-06-11 13:01:10 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "1f50xczv8kgly6wz6zrvqzwdj6nvhdlgx8wnrhmbipjrb6qacr25";
2017-06-11 13:01:10 +01:00
};
2020-08-27 19:52:38 +01:00
propagatedBuildInputs = [ requests six ];
# tests want to access the spotify API
doCheck = false;
pythonImportsCheck = [
"spotipy"
"spotipy.oauth2"
];
2020-08-27 19:52:38 +01:00
meta = with lib; {
homepage = "https://spotipy.readthedocs.org/";
changelog = "https://github.com/plamere/spotipy/blob/${version}/CHANGELOG.md";
2017-06-11 13:01:10 +01:00
description = "A light weight Python library for the Spotify Web API";
license = licenses.mit;
maintainers = with maintainers; [ rvolosatovs ];
2017-06-11 13:01:10 +01:00
};
}