mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
aff1f4ab94
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
30 lines
767 B
Nix
30 lines
767 B
Nix
{stdenv, fetchurl, libX11, xproto, indent, readline, gsl, freeglut, mesa, SDL
|
|
, blas, binutils, intltool, gettext, zlib}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
baseName = "lush";
|
|
version = "2.0.1";
|
|
name = "${baseName}-${version}";
|
|
|
|
src = fetchurl {
|
|
url="mirror://sourceforge/project/lush/lush2/lush-2.0.1.tar.gz";
|
|
sha256="02pkfn3nqdkm9fm44911dbcz0v3r0l53vygj8xigl6id5g3iwi4k";
|
|
};
|
|
|
|
buildInputs = [
|
|
libX11 xproto indent readline gsl freeglut mesa SDL blas binutils
|
|
intltool gettext zlib
|
|
];
|
|
|
|
hardeningDisable = [ "pic" ];
|
|
|
|
NIX_LDFLAGS=" -lz ";
|
|
|
|
meta = {
|
|
description = "Lisp Universal SHell";
|
|
license = stdenv.lib.licenses.gpl2Plus ;
|
|
maintainers = [ stdenv.lib.maintainers.raskin ];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|