Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

tinyscheme: init at 1.41

+35
+33
pkgs/development/interpreters/tinyscheme/default.nix
···
··· 1 + { stdenv, fetchurl }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "tinyscheme-${version}"; 5 + version = "1.41"; 6 + 7 + src = fetchurl { 8 + url = "mirror://sourceforge/tinyscheme/${name}.tar.gz"; 9 + sha256 = "168rk4zrlhsknbvldq2jsgabpwlqkx6la44gkqmijmf7jhs11h7a"; 10 + }; 11 + 12 + patchPhase = '' 13 + substituteInPlace scheme.c --replace "init.scm" "$out/lib/init.scm" 14 + ''; 15 + 16 + installPhase = '' 17 + mkdir -p $out/bin $out/lib 18 + cp init.scm $out/lib 19 + cp scheme $out/bin/tinyscheme 20 + ''; 21 + 22 + meta = with stdenv.lib; { 23 + description = "Lightweight Scheme implementation"; 24 + longDescription = '' 25 + TinyScheme is a lightweight Scheme interpreter that implements as large a 26 + subset of R5RS as was possible without getting very large and complicated. 27 + ''; 28 + homepage = http://tinyscheme.sourceforge.net/; 29 + license = licenses.bsdOriginal; 30 + maintainers = [ maintainers.ebzzry ]; 31 + platforms = platforms.unix; 32 + }; 33 + }
+2
pkgs/top-level/all-packages.nix
··· 7566 7567 tinycc = callPackage ../development/compilers/tinycc { }; 7568 7569 inherit (ocaml-ng.ocamlPackages_4_02) trv; 7570 7571 bupc = callPackage ../development/compilers/bupc { };
··· 7566 7567 tinycc = callPackage ../development/compilers/tinycc { }; 7568 7569 + tinyscheme = callPackage ../development/interpreters/tinyscheme { }; 7570 + 7571 inherit (ocaml-ng.ocamlPackages_4_02) trv; 7572 7573 bupc = callPackage ../development/compilers/bupc { };