fluffychat: 1.22.1 -> 1.23.0 (#364091)
[NixPkgs.git] / pkgs / by-name / tr / trayer / package.nix
blobb48ed167fa6a0a50a5f565e0d05c53f44ecb0f7a
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   pkg-config,
6   gdk-pixbuf,
7   gtk2,
8 }:
10 stdenv.mkDerivation rec {
11   pname = "trayer";
12   version = "1.1.8";
14   src = fetchFromGitHub {
15     owner = "sargon";
16     repo = "trayer-srg";
17     rev = "${pname}-${version}";
18     sha256 = "1mvhwaqa9bng9wh3jg3b7y8gl7nprbydmhg963xg0r076jyzv0cg";
19   };
21   postPatch = ''
22     patchShebangs configure
23   '';
25   nativeBuildInputs = [ pkg-config ];
27   buildInputs = [
28     gdk-pixbuf
29     gtk2
30   ];
32   makeFlags = [ "PREFIX=$(out)" ];
34   meta = with lib; {
35     homepage = "https://github.com/sargon/trayer-srg";
36     license = licenses.mit;
37     description = "Lightweight GTK2-based systray for UNIX desktop";
38     platforms = platforms.linux;
39     maintainers = with maintainers; [ pSub ];
40     mainProgram = "trayer";
41   };