python3Packages.swspotify: fix build

(cherry picked from commit 315faf185e)
This commit is contained in:
wxt 2024-11-14 19:36:04 +08:00 committed by github-actions[bot]
parent 8874a5ae6f
commit 2b5f334970

View File

@ -24,24 +24,29 @@ buildPythonPackage rec {
hash = "sha256-xGLvc154xnje45Akf7H1qqQRUc03gGVt8AhGlkcP3kY=";
};
nativeBuildInputs = [ poetry-core ];
build-system = [ poetry-core ];
propagatedBuildInputs = [
dependencies = [
dbus-python
flask
flask-cors
requests
];
pythonRelaxDeps = [
"flask-cors"
"flask"
];
# Tests want to use Dbus
doCheck = false;
pythonImportsCheck = [ "SwSpotify" ];
meta = with lib; {
meta = {
description = "Library to get the currently playing song and artist from Spotify";
homepage = "https://github.com/SwagLyrics/SwSpotify";
license = licenses.mit;
maintainers = with maintainers; [ siraben ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ siraben ];
};
}