2013-09-30 21:11:09 +02:00
|
|
|
{ stdenv, fetchurl, makeWrapper, jdk, rlwrap, clojure, gnupg }:
|
2012-01-19 21:34:59 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "leiningen";
|
2013-11-08 21:30:34 +01:00
|
|
|
version = "2.3.3";
|
2012-01-19 21:34:59 +01:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2012-05-11 05:36:13 +02:00
|
|
|
url = "https://raw.github.com/technomancy/leiningen/${version}/bin/lein-pkg";
|
2013-11-08 21:30:34 +01:00
|
|
|
sha256 = "0lc5ivgknkflk6k4a4q1r8bm3kq63p4cazfs1rdb02cfhdip52hc";
|
2012-01-19 21:34:59 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
jarsrc = fetchurl {
|
2013-03-30 20:09:39 +01:00
|
|
|
url = "https://leiningen.s3.amazonaws.com/downloads/${pname}-${version}-standalone.jar";
|
2013-11-08 21:30:34 +01:00
|
|
|
sha256 = "1a8i0940ww7xqhwlaaavsgw8s9rjqdnv46hfsla41ns789bappxf";
|
2012-01-19 21:34:59 +01:00
|
|
|
};
|
|
|
|
|
2013-08-09 17:30:10 +02:00
|
|
|
patches = ./lein_2.3.0.patch;
|
2012-05-11 05:36:13 +02:00
|
|
|
|
2013-09-30 21:11:09 +02:00
|
|
|
inherit rlwrap clojure gnupg;
|
2012-01-19 21:34:59 +01:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
|
2012-05-11 05:36:13 +02:00
|
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
|
2013-08-09 17:30:10 +02:00
|
|
|
propagatedBuildInputs = [ jdk clojure ];
|
2012-01-19 21:34:59 +01:00
|
|
|
|
|
|
|
meta = {
|
2013-08-13 23:48:26 +02:00
|
|
|
homepage = http://leiningen.org/;
|
2012-01-19 21:34:59 +01:00
|
|
|
description = "Project automation for Clojure";
|
|
|
|
license = "EPL";
|
2013-10-08 11:05:19 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2013-08-09 17:30:10 +02:00
|
|
|
maintainer = with stdenv.lib.maintainers; [ the-kenny ];
|
2012-01-19 21:34:59 +01:00
|
|
|
};
|
2012-02-29 15:35:34 +01:00
|
|
|
}
|