1 { lib, stdenv, fetchFromGitHub, pkg-config, gdk-pixbuf, gtk2 }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
10 rev = "${pname}-${version}";
11 sha256 = "1mvhwaqa9bng9wh3jg3b7y8gl7nprbydmhg963xg0r076jyzv0cg";
15 patchShebangs configure
18 nativeBuildInputs = [ pkg-config ];
20 buildInputs = [ gdk-pixbuf gtk2 ];
22 makeFlags = [ "PREFIX=$(out)" ];
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";