depot/third_party/nixpkgs/pkgs/applications/window-managers/trayer/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

33 lines
767 B
Nix

{ lib, stdenv, fetchFromGitHub, pkg-config, gdk-pixbuf, gtk2 }:
stdenv.mkDerivation rec {
pname = "trayer";
version = "1.1.8";
src = fetchFromGitHub {
owner = "sargon";
repo = "trayer-srg";
rev = "${pname}-${version}";
sha256 = "1mvhwaqa9bng9wh3jg3b7y8gl7nprbydmhg963xg0r076jyzv0cg";
};
postPatch = ''
patchShebangs configure
'';
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gdk-pixbuf gtk2 ];
makeFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
homepage = "https://github.com/sargon/trayer-srg";
license = licenses.mit;
description = "Lightweight GTK2-based systray for UNIX desktop";
platforms = platforms.linux;
maintainers = with maintainers; [ pSub ];
mainProgram = "trayer";
};
}