nixpkgs/pkgs/tools/graphics/ggobi/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

26 lines
683 B
Nix

{ stdenv, fetchurl, pkgconfig, libxml2, gtk2 }:
stdenv.mkDerivation rec {
version = "2.1.11";
name = "ggobi-${version}";
src = fetchurl {
url = "http://www.ggobi.org/downloads/ggobi-${version}.tar.bz2";
sha256 = "2c4ddc3ab71877ba184523e47b0637526e6f3701bd9afb6472e6dfc25646aed7";
};
buildInputs = [ pkgconfig libxml2 gtk2 ];
configureFlags = "--with-all-plugins";
hardeningDisable = [ "format" ];
meta = with stdenv.lib; {
description = "Visualization program for exploring high-dimensional data";
homepage = http://www.ggobi.org/;
license = licenses.cpl10;
platforms = platforms.linux;
maintainers = [ maintainers.michelk ];
};
}