about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWeijia Wang2024-11-15 15:34:28 +0100
committerGitHub2024-11-15 15:34:28 +0100
commit65ef03035d34d43b4705ba204a272ae737fe238c (patch)
tree606b029ab8ed7026cde93c9e6fc9bab0f4afa071
parente7ca9e1635f4c3097c730cd98cbb1f9c748a74e0 (diff)
parent315faf185e952a0e528d211dc1c5dce03d32588e (diff)
python3Packages.swspotify: fix build (#355889)
-rw-r--r--pkgs/development/python-modules/swspotify/default.nix15
1 files changed, 10 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/swspotify/default.nix b/pkgs/development/python-modules/swspotify/default.nix
index 21bd1348525c..7ed844e91d6a 100644
--- a/pkgs/development/python-modules/swspotify/default.nix
+++ b/pkgs/development/python-modules/swspotify/default.nix
@@ -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 ];
   };
 }