From f09dca7d60613c7176ff46e07e67d146b0e2c3c8 Mon Sep 17 00:00:00 2001 From: Moritz Ulrich Date: Mon, 30 Sep 2013 21:11:09 +0200 Subject: [PATCH] Leiningen: Update to 2.3.2 (& add GnuPG to closure) --- .../tools/build-managers/leiningen/builder.sh | 4 +++- .../tools/build-managers/leiningen/default.nix | 10 +++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/development/tools/build-managers/leiningen/builder.sh b/pkgs/development/tools/build-managers/leiningen/builder.sh index f5489a4a76f..8d0924028cc 100644 --- a/pkgs/development/tools/build-managers/leiningen/builder.sh +++ b/pkgs/development/tools/build-managers/leiningen/builder.sh @@ -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 diff --git a/pkgs/development/tools/build-managers/leiningen/default.nix b/pkgs/development/tools/build-managers/leiningen/default.nix index 4ca362ede0a..779b84d0ca8 100644 --- a/pkgs/development/tools/build-managers/leiningen/default.nix +++ b/pkgs/development/tools/build-managers/leiningen/default.nix @@ -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;