Leiningen: Update to 2.3.2 (& add GnuPG to closure)

This commit is contained in:
Moritz Ulrich 2013-09-30 21:11:09 +02:00
parent 51c1d2d597
commit f09dca7d60
No known key found for this signature in database
GPG Key ID: A9E1CC79ECBFA432
2 changed files with 8 additions and 6 deletions

View File

@ -20,4 +20,6 @@ chmod -v 755 $out_bin
patchShebangs $out
wrapProgram $out_bin --prefix PATH ":" ${rlwrap}/bin
wrapProgram $out_bin \
--prefix PATH ":" ${rlwrap}/bin \
--set LEIN_GPG ${gnupg}/bin/gpg

View File

@ -1,23 +1,23 @@
{ stdenv, fetchurl, makeWrapper, jdk, rlwrap, clojure }:
{ stdenv, fetchurl, makeWrapper, jdk, rlwrap, clojure, gnupg }:
stdenv.mkDerivation rec {
pname = "leiningen";
version = "2.3.1";
version = "2.3.2";
name = "${pname}-${version}";
src = fetchurl {
url = "https://raw.github.com/technomancy/leiningen/${version}/bin/lein-pkg";
sha256 = "07z4sr4ssi9lqr1kydxn4gp992n44jsr6llarlvpx0ns8yi4gx0l";
sha256 = "1dpvs6b2n309ixglmdpw64k8fbz8n4rd61xp4jrih0z7dgvcql6h";
};
jarsrc = fetchurl {
url = "https://leiningen.s3.amazonaws.com/downloads/${pname}-${version}-standalone.jar";
sha256 = "00hmxyvrzxjwa2qz3flnrvg2k2llzvprk9b5szyrh3rv5z5jd4hw";
sha256 = "0g6sgmgl0azawwchi86qxqsknk753ffwiszsxg4idqb713ac6cda";
};
patches = ./lein_2.3.0.patch;
inherit rlwrap clojure;
inherit rlwrap clojure gnupg;
builder = ./builder.sh;