3
0
Fork 0
forked from mirrors/nixpkgs

python310Packages.spotipy: disable on older Python releases

- add missing input
This commit is contained in:
Fabian Affolter 2022-10-30 18:33:55 +01:00 committed by GitHub
parent d10131aa3b
commit 3df7f95b0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,37 +1,44 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, redis
, requests
, six
, urllib3
}:
buildPythonPackage rec {
pname = "spotipy";
version = "2.21.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-YhFhqbWqAVaBwu4buIc87i7mtEDYQEDanSpXzWf31eU=";
hash = "sha256-YhFhqbWqAVaBwu4buIc87i7mtEDYQEDanSpXzWf31eU=";
};
propagatedBuildInputs = [
redis
requests
six
urllib3
];
# tests want to access the spotify API
# Tests want to access the spotify API
doCheck = false;
pythonImportsCheck = [
"spotipy"
"spotipy.oauth2"
];
meta = with lib; {
description = "Library for the Spotify Web API";
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 ];
};