2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, gdk-pixbuf, gtk2 }:
|
2011-08-14 05:03:54 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-11-07 13:50:48 +00:00
|
|
|
pname = "trayer";
|
|
|
|
version = "1.1.8";
|
2011-08-14 05:03:54 +00:00
|
|
|
|
2014-08-08 08:27:20 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sargon";
|
|
|
|
repo = "trayer-srg";
|
2021-11-07 13:50:48 +00:00
|
|
|
rev = "${pname}-${version}";
|
2018-03-16 10:16:55 +00:00
|
|
|
sha256 = "1mvhwaqa9bng9wh3jg3b7y8gl7nprbydmhg963xg0r076jyzv0cg";
|
2014-08-08 08:27:20 +00:00
|
|
|
};
|
2011-08-14 05:03:54 +00:00
|
|
|
|
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 ];
|
|
|
|
|
2011-08-14 05:03:54 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/sargon/trayer-srg";
|
2014-08-08 08:27:20 +00:00
|
|
|
license = licenses.mit;
|
2011-08-14 05:03:54 +00:00
|
|
|
description = "A lightweight GTK2-based systray for UNIX desktop";
|
2014-08-08 08:27:20 +00:00
|
|
|
platforms = platforms.linux;
|
2014-09-26 21:44:29 +00:00
|
|
|
maintainers = with maintainers; [ pSub ];
|
2011-08-14 05:03:54 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|