1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00
nixpkgs/pkgs/misc/mxt-app/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

27 lines
712 B
Nix

{ stdenv, fetchFromGitHub, makeWrapper, autoconf, automake, libtool }:
stdenv.mkDerivation rec{
version="1.26";
name = "mxt-app-${version}";
src = fetchFromGitHub {
owner = "atmel-maxtouch";
repo = "mxt-app";
rev = "v${version}";
sha256 = "07afdgh8pnhgh2372cf5pqy6p7l6w3ing2hwnvz6db8wxw59n48h";
};
buildInputs = [ autoconf automake libtool ];
preConfigure = "./autogen.sh";
hardeningDisable = [ "fortify" ];
meta = with stdenv.lib; {
description = "Command line utility for Atmel maXTouch devices";
homepage = http://github.com/atmel-maxtouch/mxt-app;
license = licenses.bsd2;
maintainers = [ maintainers.colemickens ];
platforms = platforms.unix;
};
}