Skip to content

Commit 65ef030

Browse files
authored
python3Packages.swspotify: fix build (#355889)
2 parents e7ca9e1 + 315faf1 commit 65ef030

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

pkgs/development/python-modules/swspotify/default.nix

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,29 @@ buildPythonPackage rec {
2424
hash = "sha256-xGLvc154xnje45Akf7H1qqQRUc03gGVt8AhGlkcP3kY=";
2525
};
2626

27-
nativeBuildInputs = [ poetry-core ];
27+
build-system = [ poetry-core ];
2828

29-
propagatedBuildInputs = [
29+
dependencies = [
3030
dbus-python
3131
flask
3232
flask-cors
3333
requests
3434
];
3535

36+
pythonRelaxDeps = [
37+
"flask-cors"
38+
"flask"
39+
];
40+
3641
# Tests want to use Dbus
3742
doCheck = false;
3843

3944
pythonImportsCheck = [ "SwSpotify" ];
4045

41-
meta = with lib; {
46+
meta = {
4247
description = "Library to get the currently playing song and artist from Spotify";
4348
homepage = "https://github.com/SwagLyrics/SwSpotify";
44-
license = licenses.mit;
45-
maintainers = with maintainers; [ siraben ];
49+
license = lib.licenses.mit;
50+
maintainers = with lib.maintainers; [ siraben ];
4651
};
4752
}

0 commit comments

Comments
 (0)