1 { lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkg-config, gtk3 }:
3 stdenv.mkDerivation rec {
4 pname = "spotify-tray";
7 src = fetchFromGitHub {
11 sha256 = "sha256-E86rA8cBjy/bI7sZHlT40o7i23PcONXT5GTHEfcaDf0=";
16 name = "fix-building-with-automake-1.16.5.patch";
17 url = "https://github.com/tsmetana/spotify-tray/commit/1305f473ba4a406e907b98c8255f23154f349613.patch";
18 sha256 = "sha256-u2IopfMzNCu2F06RZoJw3OAsRxxZYdIMnKnyb7/KBgk=";
22 nativeBuildInputs = [ autoreconfHook pkg-config ];
24 buildInputs = [ gtk3 ];
27 homepage = "https://github.com/tsmetana/spotify-tray";
28 description = "Adds a tray icon to the Spotify Linux client application.";
29 license = licenses.gpl3Only;
30 platforms = platforms.linux;
31 maintainers = with maintainers; [ Enzime ];
32 mainProgram = "spotify-tray";