mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
Merge pull request #53614 from ebzzry/tinyscheme-1.41
tinyscheme: init at 1.41
This commit is contained in:
commit
0f69eb3e5b
33
pkgs/development/interpreters/tinyscheme/default.nix
Normal file
33
pkgs/development/interpreters/tinyscheme/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "tinyscheme-${version}";
|
||||
version = "1.41";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/tinyscheme/${name}.tar.gz";
|
||||
sha256 = "168rk4zrlhsknbvldq2jsgabpwlqkx6la44gkqmijmf7jhs11h7a";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace scheme.c --replace "init.scm" "$out/lib/init.scm"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/lib
|
||||
cp init.scm $out/lib
|
||||
cp scheme $out/bin/tinyscheme
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Lightweight Scheme implementation";
|
||||
longDescription = ''
|
||||
TinyScheme is a lightweight Scheme interpreter that implements as large a
|
||||
subset of R5RS as was possible without getting very large and complicated.
|
||||
'';
|
||||
homepage = http://tinyscheme.sourceforge.net/;
|
||||
license = licenses.bsdOriginal;
|
||||
maintainers = [ maintainers.ebzzry ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -7578,6 +7578,8 @@ in
|
||||
|
||||
tinycc = callPackage ../development/compilers/tinycc { };
|
||||
|
||||
tinyscheme = callPackage ../development/interpreters/tinyscheme { };
|
||||
|
||||
inherit (ocaml-ng.ocamlPackages_4_02) trv;
|
||||
|
||||
bupc = callPackage ../development/compilers/bupc { };
|
||||
|
Loading…
Reference in New Issue
Block a user