mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
39 lines
734 B
Nix
39 lines
734 B
Nix
{
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
lib,
|
|
pymongo,
|
|
setuptools,
|
|
spotapi,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "spotipyfree";
|
|
version = "1.9.12";
|
|
pyproject = true;
|
|
|
|
# no tags on GitHub
|
|
src = fetchPypi {
|
|
inherit (finalAttrs) pname version;
|
|
hash = "sha256-66SITvhrKd1dJucd626Qy9jW9qZYgH/PWYyto3F4Big=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
pymongo
|
|
spotapi
|
|
];
|
|
|
|
pythonImportsCheck = [ "SpotipyFree" ];
|
|
|
|
# upstream has no tests
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Spotipy-compatible wrapper using SpotAPI";
|
|
homepage = "https://github.com/TzurSoffer/spotipyFree";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.dotlambda ];
|
|
};
|
|
})
|