Add clooj, IDE for clojure
svn path=/nixpkgs/trunk/; revision=29149
This commit is contained in:
parent
bc3c074cb8
commit
3f94f217d1
@ -17,7 +17,6 @@ stdenv.mkDerivation {
|
|||||||
install -t $out/lib/java clojure.jar
|
install -t $out/lib/java clojure.jar
|
||||||
";
|
";
|
||||||
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "a Lisp dialect for the JVM";
|
description = "a Lisp dialect for the JVM";
|
||||||
homepage = http://clojure.org/;
|
homepage = http://clojure.org/;
|
||||||
|
11
pkgs/development/interpreters/clojure/clooj-wrapper.nix
Normal file
11
pkgs/development/interpreters/clojure/clooj-wrapper.nix
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{writeTextFile, jre, clooj}:
|
||||||
|
|
||||||
|
writeTextFile {
|
||||||
|
name = "clooj-wrapper";
|
||||||
|
executable = true;
|
||||||
|
destination = "/bin/clooj";
|
||||||
|
text = ''
|
||||||
|
#!/bin/sh
|
||||||
|
exec ${jre}/bin/java -jar ${clooj}/lib/java/clooj.jar
|
||||||
|
'';
|
||||||
|
}
|
25
pkgs/development/interpreters/clojure/clooj.nix
Normal file
25
pkgs/development/interpreters/clojure/clooj.nix
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{stdenv, fetchurl}:
|
||||||
|
|
||||||
|
let
|
||||||
|
jar = fetchurl {
|
||||||
|
url = https://github.com/downloads/arthuredelstein/clooj/clooj-0.1.36-STANDALONE.jar;
|
||||||
|
sha256 = "173c66c0aade3ae5d21622f629e60efa51a03ad83c087b02c25e806c5b7f838c";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "clooj-0.1.32";
|
||||||
|
|
||||||
|
phases = "installPhase";
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
ensureDir $out/lib/java
|
||||||
|
ln -s ${jar} $out/lib/java/clooj.jar
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "clooj, a lightweight IDE for clojure";
|
||||||
|
homepage = https://github.com/arthuredelstein/clooj;
|
||||||
|
license = stdenv.lib.licenses.bsd3;
|
||||||
|
};
|
||||||
|
}
|
@ -2460,6 +2460,11 @@ let
|
|||||||
#clojure = clojure_binary;
|
#clojure = clojure_binary;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
clooj_standalone_binary = callPackage ../development/interpreters/clojure/clooj.nix { };
|
||||||
|
|
||||||
|
clooj_wrapper = callPackage ../development/interpreters/clojure/clooj-wrapper.nix {
|
||||||
|
clooj = clooj_standalone_binary;
|
||||||
|
};
|
||||||
|
|
||||||
erlang = callPackage ../development/interpreters/erlang { };
|
erlang = callPackage ../development/interpreters/erlang { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user