diff options
author | Ludovic Courtès <ludo@gnu.org> | 2008-05-29 12:10:10 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2008-05-29 12:10:10 +0000 |
commit | ecc5f11e654790269f7e93633abfbfbd66a85b74 (patch) | |
tree | d5509564a81684e3d3adf4ecc4b0fcbaad0e0f76 /pkgs/development/compilers/stalin | |
parent | 402eaefd76e0a54aaae63612291e09f04b8ded60 (diff) | |
download | nixlib-ecc5f11e654790269f7e93633abfbfbd66a85b74.tar nixlib-ecc5f11e654790269f7e93633abfbfbd66a85b74.tar.gz nixlib-ecc5f11e654790269f7e93633abfbfbd66a85b74.tar.bz2 nixlib-ecc5f11e654790269f7e93633abfbfbd66a85b74.tar.lz nixlib-ecc5f11e654790269f7e93633abfbfbd66a85b74.tar.xz nixlib-ecc5f11e654790269f7e93633abfbfbd66a85b74.tar.zst nixlib-ecc5f11e654790269f7e93633abfbfbd66a85b74.zip |
Add Stalin, an efficient Scheme compiler.
svn path=/nixpkgs/trunk/; revision=11927
Diffstat (limited to 'pkgs/development/compilers/stalin')
-rw-r--r-- | pkgs/development/compilers/stalin/default.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/development/compilers/stalin/default.nix b/pkgs/development/compilers/stalin/default.nix new file mode 100644 index 000000000000..37b7baa43823 --- /dev/null +++ b/pkgs/development/compilers/stalin/default.nix @@ -0,0 +1,42 @@ +{ fetchurl, stdenv, libX11 }: + +stdenv.mkDerivation rec { + name = "stalin-0.11"; + + src = fetchurl { + url = "ftp://ftp.ecn.purdue.edu/qobi/stalin.tar.Z"; + sha256 = "0lz8riccpigdixwf6dswwva6s4kxaz3dzxhkqhcxgwmffy30vw8s"; + }; + + buildInputs = [ libX11 ]; + + buildPhase = '' ./build ''; + + installPhase = '' + ensureDir "$out/bin" + cp stalin "$out/bin" + + ensureDir "$out/man/man1" + cp stalin.1 "$out/man/man1" + + ensureDir "$out/share/emacs/site-lisp" + cp stalin.el "$out/share/emacs/site-lisp" + + ensureDir "$out/doc/${name}" + cp README "$out/doc/${name}" + + ensureDir "$out/share/${name}/include" + cp include/* "$out/share/${name}/include" + + substituteInPlace "$out/bin/stalin" \ + --replace "$PWD/include/stalin" "$out/share/${name}/include/stalin" + substituteInPlace "$out/bin/stalin" \ + --replace "$PWD/include" "$out/share/${name}/include" + ''; + + meta = { + homepage = http://www.ece.purdue.edu/~qobi/software.html; + license = "GPLv2+"; + description = "Stalin, an optimizing Scheme compiler"; + }; +} |