1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 02:46:28 +00:00
nixpkgs/pkgs/development/libraries/tidyp/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
534 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "tidyp-1.04";
src = fetchurl {
url = "https://github.com/downloads/petdance/tidyp/${name}.tar.gz";
sha256 = "0f5ky0ih4vap9c6j312jn73vn8m2bj69pl2yd3a5nmv35k9zmc10";
};
hardeningDisable = [ "format" ];
meta = with stdenv.lib; {
description = "A program that can validate your HTML, as well as modify it to be more clean and standard";
homepage = http://tidyp.com/;
platforms = platforms.linux;
maintainers = with maintainers; [ pSub ];
};
}