nixpkgs-suyu/pkgs/development/interpreters/lush/default.nix

33 lines
953 B
Nix
Raw Normal View History

2013-07-30 13:20:46 +02:00
{stdenv, fetchurl, libX11, xproto, indent, readline, gsl, freeglut, mesa, SDL
, blas, binutils, intltool, gettext, zlib}:
let
s = # Generated upstream information
rec {
baseName="lush";
version="2.0.1";
name="${baseName}-${version}";
hash="02pkfn3nqdkm9fm44911dbcz0v3r0l53vygj8xigl6id5g3iwi4k";
2015-04-04 22:41:58 +02:00
url="mirror://sourceforge/project/lush/lush2/lush-2.0.1.tar.gz";
2013-07-30 13:20:46 +02:00
sha256="02pkfn3nqdkm9fm44911dbcz0v3r0l53vygj8xigl6id5g3iwi4k";
};
buildInputs = [
libX11 xproto indent readline gsl freeglut mesa SDL blas binutils
intltool gettext zlib
];
in
stdenv.mkDerivation {
inherit (s) name version;
inherit buildInputs;
src = fetchurl {
inherit (s) url sha256;
};
NIX_LDFLAGS=" -lz ";
meta = {
inherit (s) version;
description = ''Lisp Universal SHell'';
license = stdenv.lib.licenses.gpl2Plus ;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
};
}