3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/window-managers/stalonetray/default.nix
Franz Pletz aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00

28 lines
626 B
Nix

{ stdenv, fetchurl, libX11, xproto }:
stdenv.mkDerivation rec {
name = "stalonetray-${version}";
version = "0.8.1";
src = fetchurl {
url = "mirror://sourceforge/stalonetray/${name}.tar.bz2";
sha256 = "1wp8pnlv34w7xizj1vivnc3fkwqq4qgb9dbrsg15598iw85gi8ll";
};
buildInputs = [ libX11 xproto ];
hardeningDisable = [ "format" ];
meta = with stdenv.lib; {
description = "Stand alone tray";
maintainers = with maintainers; [ raskin ];
platforms = platforms.linux;
};
passthru = {
updateInfo = {
downloadPage = "http://sourceforge.net/projects/stalonetray/files/";
};
};
}