[Backport release-24.11] python3Packages.swspotify: fix build (#356183)

This commit is contained in:
Nick Cao 2024-11-20 08:40:38 -05:00 committed by GitHub
commit 6146f9cd30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 ];
};
}