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