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

31 lines
710 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, pkg-config, gdk-pixbuf, gtk2 }:
stdenv.mkDerivation rec {
2018-03-16 11:16:55 +01:00
name = "trayer-1.1.8";
nativeBuildInputs = [ pkg-config ];
2019-05-22 13:03:39 +02:00
buildInputs = [ gdk-pixbuf gtk2 ];
src = fetchFromGitHub {
owner = "sargon";
repo = "trayer-srg";
rev = name;
2018-03-16 11:16:55 +01:00
sha256 = "1mvhwaqa9bng9wh3jg3b7y8gl7nprbydmhg963xg0r076jyzv0cg";
};
2017-04-10 11:29:15 +02:00
preConfigure = ''
patchShebangs configure
'';
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 23:44:29 +02:00
maintainers = with maintainers; [ pSub ];
};
}