evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / tr / trayer / package.nix
blob61976edfe96bd3e2a461ce37ceae463bc400cdc2
1 { lib, stdenv, fetchFromGitHub, pkg-config, gdk-pixbuf, gtk2 }:
3 stdenv.mkDerivation rec {
4   pname = "trayer";
5   version = "1.1.8";
7   src = fetchFromGitHub {
8     owner = "sargon";
9     repo = "trayer-srg";
10     rev = "${pname}-${version}";
11     sha256 = "1mvhwaqa9bng9wh3jg3b7y8gl7nprbydmhg963xg0r076jyzv0cg";
12   };
14   postPatch = ''
15     patchShebangs configure
16   '';
18   nativeBuildInputs = [ pkg-config ];
20   buildInputs = [ gdk-pixbuf gtk2 ];
22   makeFlags = [ "PREFIX=$(out)" ];
24   meta = with lib; {
25     homepage = "https://github.com/sargon/trayer-srg";
26     license = licenses.mit;
27     description = "Lightweight GTK2-based systray for UNIX desktop";
28     platforms = platforms.linux;
29     maintainers = with maintainers; [ pSub ];
30     mainProgram = "trayer";
31   };