1 { lib, python3Packages, fetchPypi, dbus }:
2 python3Packages.buildPythonApplication rec {
3 pname = "spotify-cli-linux";
8 sha256 = "sha256-XJMkiQR1FoeIPfAuJT22kfYJdc/ABuxExELh0EEev8k=";
12 substituteInPlace spotifycli/spotifycli.py \
13 --replace dbus-send ${dbus}/bin/dbus-send
16 disabled = !python3Packages.isPy3k;
17 propagatedBuildInputs = with python3Packages; [ lyricwikia dbus-python ];
19 # upstream has no code tests, but uses its "tests" for linting and formatting checks
23 homepage = "https://pwittchen.github.io/spotify-cli-linux/";
24 maintainers = [ maintainers.kmein ];
25 description = "A command line interface to Spotify on Linux.";
26 mainProgram = "spotifycli";
27 license = licenses.gpl3;
28 platforms = platforms.linux;