Unverified Commit 65ef0303 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

python3Packages.swspotify: fix build (#355889)

parents e7ca9e16 315faf18
Loading
Loading
Loading
Loading
+10 −5
Original line number Diff line number Diff line
@@ -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 ];
  };
}