diff options
-rw-r--r-- | pkgs/development/interpreters/lush/default.nix | 32 | ||||
-rw-r--r-- | pkgs/development/interpreters/lush/default.upstream | 3 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
3 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/lush/default.nix b/pkgs/development/interpreters/lush/default.nix new file mode 100644 index 000000000000..63cf85bc506b --- /dev/null +++ b/pkgs/development/interpreters/lush/default.nix @@ -0,0 +1,32 @@ +{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"; + 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 + ]; +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; + }; +} diff --git a/pkgs/development/interpreters/lush/default.upstream b/pkgs/development/interpreters/lush/default.upstream new file mode 100644 index 000000000000..6a3b3a8357c2 --- /dev/null +++ b/pkgs/development/interpreters/lush/default.upstream @@ -0,0 +1,3 @@ +url http://sourceforge.net/projects/lush/files/lush2/ +version_link '[.]tar[.]gz/download$' +SF_redirect diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 352d58393bca..2a4dab0f3184 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3052,6 +3052,8 @@ let lua = lua5; }; + lush2 = callPackage ../development/interpreters/lush {}; + maude = callPackage ../development/interpreters/maude { }; octave = callPackage ../development/interpreters/octave { |