nixpkgs/pkgs/development/interpreters/lush/default.nix
2021-01-23 20:29:03 +07:00

29 lines
785 B
Nix

{lib, stdenv, fetchurl, libX11, xorgproto, indent, readline, gsl, freeglut, libGLU, libGL, SDL
, blas, libbfd, intltool, gettext, zlib, libSM}:
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 libSM xorgproto indent readline gsl freeglut libGLU libGL SDL blas libbfd
intltool gettext zlib
];
hardeningDisable = [ "pic" ];
NIX_LDFLAGS=" -lz ";
meta = {
description = "Lisp Universal SHell";
license = lib.licenses.gpl2Plus ;
maintainers = [ lib.maintainers.raskin ];
platforms = lib.platforms.linux;
};
}