nixpkgs/pkgs/applications/window-managers/trayer/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
741 B
Nix
Raw Normal View History

{ 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}";
2018-03-16 10:16:55 +00:00
sha256 = "1mvhwaqa9bng9wh3jg3b7y8gl7nprbydmhg963xg0r076jyzv0cg";
};
2021-11-08 08:47:47 +00:00
postPatch = ''
2017-04-10 09:29:15 +00:00
patchShebangs configure
'';
2021-11-08 08:47:47 +00:00
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gdk-pixbuf gtk2 ];
makeFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
homepage = "https://github.com/sargon/trayer-srg";
license = licenses.mit;
description = "A lightweight GTK2-based systray for UNIX desktop";
platforms = platforms.linux;
2014-09-26 21:44:29 +00:00
maintainers = with maintainers; [ pSub ];
};
}