1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 19:08:30 +00:00
nixpkgs/pkgs/development/interpreters/lush/default.nix
John Ericson d7bddc27b2 treewide: Try to avoid depending on binutils directly
One should depend on

 - `stdenv.cc.bintools`: for executables at build time
 - `libbfd` or `libiberty`: for those libraries
 - `targetPackages.cc.bintools`: for exectuables at *run* time
 - `binutils`: only for specifically GNU Binutils's executables, regardless of
   the host platform, at run time.
2017-11-13 00:47:48 -05:00

30 lines
778 B
Nix

{stdenv, fetchurl, libX11, xproto, indent, readline, gsl, freeglut, mesa, 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 xproto indent readline gsl freeglut mesa SDL blas libbfd
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;
};
}