nixpkgs/pkgs/development/libraries/fribidi/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

20 lines
474 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "fribidi-${version}";
version = "0.19.6";
src = fetchurl {
url = "http://fribidi.org/download/${name}.tar.bz2";
sha256 = "0zg1hpaml34ny74fif97j7ngrshlkl3wk3nja3gmlzl17i1bga6b";
};
hardeningDisable = [ "format" ];
meta = with stdenv.lib; {
homepage = http://fribidi.org/;
description = "GNU implementation of the Unicode Bidirectional Algorithm (bidi)";
license = licenses.gpl2;
};
}