Merge pull request #7044 from joachifm/delete-qi-compiler
Delete expression for the Qi compiler
This commit is contained in:
commit
28f5c9536d
@ -1,36 +0,0 @@
|
|||||||
{ stdenv, fetchurl, builderDefs, unzip, clisp }:
|
|
||||||
let localDefs = builderDefs.passthru.function {
|
|
||||||
src = /* put a fetchurl here */
|
|
||||||
fetchurl {
|
|
||||||
url = http://www.lambdassociates.org/Download/Qi9.1.zip;
|
|
||||||
sha256 = "1j584i7pj38rnlf7v9njfdwc6gc296v5friw2887dsw34dmwyg3f";
|
|
||||||
};
|
|
||||||
buildInputs = [ unzip clisp];
|
|
||||||
configureFlags = [];
|
|
||||||
};
|
|
||||||
in with localDefs;
|
|
||||||
let
|
|
||||||
shell=stdenv.shell;
|
|
||||||
in
|
|
||||||
let
|
|
||||||
allBuild = fullDepEntry ("
|
|
||||||
(sleep 0.1; echo ) | clisp install.txt;
|
|
||||||
(sleep 0.1; echo -e '1\n(quit)\n' ) | sh Qi-Linux-CLisp
|
|
||||||
mkdir -p \$out/share
|
|
||||||
mkdir -p \$out/bin
|
|
||||||
cp -r . \$out/share/Qi-9.1
|
|
||||||
echo -e '#! ${shell}
|
|
||||||
arg1=\${1:-'\$out'/share/Qi-9.1/startup.txt}
|
|
||||||
shift
|
|
||||||
clisp -M '\$out'/share/Qi-9.1/lispinit.mem \$arg1 \"\$@\"\\n' > \$out/bin/qi
|
|
||||||
chmod a+x \$out/bin/qi
|
|
||||||
") [ addInputs minInit doUnpack defEnsureDir];
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
name = "Qi-9.1";
|
|
||||||
builder = writeScript (name + "-builder")
|
|
||||||
(textClosure localDefs [allBuild doForceShare doPropagate]);
|
|
||||||
meta = {
|
|
||||||
description = "Functional programming language, built top of Common Lisp";
|
|
||||||
};
|
|
||||||
}
|
|
@ -4630,8 +4630,6 @@ let
|
|||||||
|
|
||||||
pyrex096 = callPackage ../development/interpreters/pyrex/0.9.6.nix { };
|
pyrex096 = callPackage ../development/interpreters/pyrex/0.9.6.nix { };
|
||||||
|
|
||||||
qi = callPackage ../development/compilers/qi { };
|
|
||||||
|
|
||||||
racket = callPackage ../development/interpreters/racket { };
|
racket = callPackage ../development/interpreters/racket { };
|
||||||
|
|
||||||
rakudo = callPackage ../development/interpreters/rakudo { };
|
rakudo = callPackage ../development/interpreters/rakudo { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user