My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/spotipy/default.nix

32 lines
739 B

{ lib
, buildPythonPackage
, fetchPypi
, requests
, six }:
buildPythonPackage rec {
pname = "spotipy";
version = "2.19.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-kE9ugT26g3dY6VEMG+5R18ohfxaSRmJaE+aTcz3DNUM=";
};
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 ];
};
}