12 version = "0-unstable-2022-10-25";
14 src = fetchFromGitHub {
17 rev = "8624f539549973c124ed18753881045968881745";
18 hash = "sha256-AsXqcoqUXUFxTG+G+31lm45gjP6qGohEnUSUtKypew0=";
26 buildInputs = [ libX11 ];
33 lndir -silent ${spotify} $out
35 install -Dm644 spotifywm.so $out/lib/spotifywm.so
37 wrapProgram $out/bin/spotify \
38 --suffix LD_PRELOAD : "$out/lib/spotifywm.so"
44 homepage = "https://github.com/dasJ/spotifywm";
45 description = "Wrapper around Spotify that correctly sets class name before opening the window";
46 license = lib.licenses.mit;
47 platforms = lib.platforms.linux;
48 maintainers = with lib.maintainers; [ jqueiroz the-argus ];
49 mainProgram = "spotify";