2024-09-19 22:16:11 -04:00
|
|
|
{
|
|
|
|
spotifywebapi-src,
|
|
|
|
python3Packages,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
inherit (builtins) elemAt head readFile split;
|
|
|
|
tag = head (split "\"" (elemAt (split "VERSION:str = \"" (readFile "${spotifywebapi-src}/spotifywebapipython/const.py")) 2));
|
|
|
|
in
|
|
|
|
python3Packages.buildPythonPackage {
|
|
|
|
pname = "spotifywebapiPython";
|
|
|
|
version = "${tag}+${spotifywebapi-src.shortRev}";
|
2024-12-21 17:30:21 -05:00
|
|
|
pyproject = true;
|
2024-09-19 22:16:11 -04:00
|
|
|
|
|
|
|
src = spotifywebapi-src;
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
lxml
|
|
|
|
oauthlib
|
|
|
|
platformdirs
|
|
|
|
requests
|
|
|
|
requests_oauthlib
|
2024-12-21 17:30:21 -05:00
|
|
|
setuptools
|
2024-09-30 13:39:09 -04:00
|
|
|
urllib3
|
2024-09-19 22:16:11 -04:00
|
|
|
zeroconf
|
|
|
|
smartinspect # overridden in this python3Packages
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"spotifywebapipython"
|
|
|
|
];
|
|
|
|
}
|