about summary refs log tree commit diff
path: root/pkgs/development/interpreters/clojure/clooj.nix
blob: 23bf9ad03b7833c3e03566e1d9d677d46e70ba85 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;
  };
}