From 4d0e24acd32416a6cd296417b46b26971d372139 Mon Sep 17 00:00:00 2001 From: Marco Maggesi Date: Sat, 7 Nov 2009 11:17:53 +0000 Subject: [PATCH] Add packages scsh, The Scheme Shell svn path=/nixpkgs/trunk/; revision=18248 --- .../development/interpreters/scsh/default.nix | 26 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/development/interpreters/scsh/default.nix diff --git a/pkgs/development/interpreters/scsh/default.nix b/pkgs/development/interpreters/scsh/default.nix new file mode 100644 index 000000000000..010d7c504d3a --- /dev/null +++ b/pkgs/development/interpreters/scsh/default.nix @@ -0,0 +1,26 @@ +{stdenv, fetchurl}: + +let + pname = "scsh"; + version = "0.6.7"; + name = "${pname}-${version}"; +in + +stdenv.mkDerivation { + inherit name; + + src = fetchurl { + url = "mirror://sourceforge/${pname}/${name}.tar.gz"; + sha256 = "c4a9f7df2a0bb7a7aa3dafc918aa9e9a566d4ad33a55f0192889de172d1ddb7f"; + }; + + meta = { + description = "a Scheme shell"; + longDescription = '' + SCSH is an implementation of the Scheme shell. It is implemented as + a heap image which is interpreted by the Scheme 48 virtual machine. + ''; + homepage = http://www.scsh.net/; + license = "BSD"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f7b5bbeb8d12..f27dfab74340 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2498,6 +2498,8 @@ let inherit fetchurl stdenv sqlite ruby ; }; + scsh = import ../development/interpreters/scsh { inherit stdenv fetchurl; }; + spidermonkey = import ../development/interpreters/spidermonkey { inherit fetchurl stdenv readline; };