biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / misc / spotify-tray / default.nix
blob372e468487fd67f0036735942c3a0d834b56773c
1 { lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkg-config, gtk3 }:
3 stdenv.mkDerivation rec {
4   pname = "spotify-tray";
5   version = "1.3.2";
7   src = fetchFromGitHub {
8     owner = "tsmetana";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "sha256-E86rA8cBjy/bI7sZHlT40o7i23PcONXT5GTHEfcaDf0=";
12   };
14   patches = [
15     (fetchpatch {
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=";
19     })
20   ];
22   nativeBuildInputs = [ autoreconfHook pkg-config ];
24   buildInputs = [ gtk3 ];
26   meta = with lib; {
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";
33   };