Leiningen: Update to 2.3.2 (& add GnuPG to closure)
This commit is contained in:
parent
51c1d2d597
commit
f09dca7d60
|
@ -20,4 +20,6 @@ chmod -v 755 $out_bin
|
||||||
|
|
||||||
patchShebangs $out
|
patchShebangs $out
|
||||||
|
|
||||||
wrapProgram $out_bin --prefix PATH ":" ${rlwrap}/bin
|
wrapProgram $out_bin \
|
||||||
|
--prefix PATH ":" ${rlwrap}/bin \
|
||||||
|
--set LEIN_GPG ${gnupg}/bin/gpg
|
||||||
|
|
|
@ -1,23 +1,23 @@
|
||||||
{ stdenv, fetchurl, makeWrapper, jdk, rlwrap, clojure }:
|
{ stdenv, fetchurl, makeWrapper, jdk, rlwrap, clojure, gnupg }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "leiningen";
|
pname = "leiningen";
|
||||||
version = "2.3.1";
|
version = "2.3.2";
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://raw.github.com/technomancy/leiningen/${version}/bin/lein-pkg";
|
url = "https://raw.github.com/technomancy/leiningen/${version}/bin/lein-pkg";
|
||||||
sha256 = "07z4sr4ssi9lqr1kydxn4gp992n44jsr6llarlvpx0ns8yi4gx0l";
|
sha256 = "1dpvs6b2n309ixglmdpw64k8fbz8n4rd61xp4jrih0z7dgvcql6h";
|
||||||
};
|
};
|
||||||
|
|
||||||
jarsrc = fetchurl {
|
jarsrc = fetchurl {
|
||||||
url = "https://leiningen.s3.amazonaws.com/downloads/${pname}-${version}-standalone.jar";
|
url = "https://leiningen.s3.amazonaws.com/downloads/${pname}-${version}-standalone.jar";
|
||||||
sha256 = "00hmxyvrzxjwa2qz3flnrvg2k2llzvprk9b5szyrh3rv5z5jd4hw";
|
sha256 = "0g6sgmgl0azawwchi86qxqsknk753ffwiszsxg4idqb713ac6cda";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = ./lein_2.3.0.patch;
|
patches = ./lein_2.3.0.patch;
|
||||||
|
|
||||||
inherit rlwrap clojure;
|
inherit rlwrap clojure gnupg;
|
||||||
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue