9 stdenv.mkDerivation rec {
14 # mirrored as original mediafire.com source does not work without user interaction
15 url = "https://archive.org/download/clooj-${version}-standalone/clooj-${version}-standalone.jar";
16 sha256 = "0hbc29bg2a86rm3sx9kvj7h7db9j0kbnrb706wsfiyk3zi3bavnd";
19 nativeBuildInputs = [ makeWrapper ];
24 mkdir -p $out/share/java
25 ln -s $jar $out/share/java/clooj.jar
26 makeWrapper ${jre}/bin/java $out/bin/clooj --add-flags "-jar $out/share/java/clooj.jar"
30 description = "Lightweight IDE for Clojure";
31 mainProgram = "clooj";
32 homepage = "https://github.com/arthuredelstein/clooj";
33 sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
34 license = lib.licenses.bsd3;
35 platforms = lib.platforms.all;