From 717d9c39f94c667cca80fa4942e35cd51e5cc7eb Mon Sep 17 00:00:00 2001 From: Moritz Ulrich Date: Tue, 10 Jun 2014 11:49:47 +0200 Subject: [PATCH] leiningen: Update to 2.4.0. --- .../tools/build-managers/leiningen/default.nix | 10 +++++----- .../{lein_2.3.0.patch => lein-fix-jar-path.patch} | 0 2 files changed, 5 insertions(+), 5 deletions(-) rename pkgs/development/tools/build-managers/leiningen/{lein_2.3.0.patch => lein-fix-jar-path.patch} (100%) diff --git a/pkgs/development/tools/build-managers/leiningen/default.nix b/pkgs/development/tools/build-managers/leiningen/default.nix index a5f34746fef..2c4ea8183af 100644 --- a/pkgs/development/tools/build-managers/leiningen/default.nix +++ b/pkgs/development/tools/build-managers/leiningen/default.nix @@ -3,20 +3,20 @@ stdenv.mkDerivation rec { pname = "leiningen"; - version = "2.3.4"; + version = "2.4.0"; name = "${pname}-${version}"; src = fetchurl { url = "https://raw.github.com/technomancy/leiningen/${version}/bin/lein-pkg"; - sha256 = "1v83hpvp349pgqqiy4babc5m5b9lcwk0fif80fpv4jqvp0a8v6r7"; + sha256 = "0mdfp5r5qid42x7rq1cmyxqmvjdj2hk9rjz8pryf4zq3bk38m1cg"; }; jarsrc = fetchurl { - url = "https://leiningen.s3.amazonaws.com/downloads/${pname}-${version}-standalone.jar"; - sha256 = "1pqc99p4vz4q3qcs90cqql6m7kc27ihx4hbqs5alxkzk7jv8s2bk"; + url = "https://github.com/technomancy/leiningen/releases/download/${version}/${name}-standalone.jar"; + sha256 = "099r5qcldb214c3857i7dbbqn531aahzrz39qfhqxc6f476ncdh0"; }; - patches = ./lein_2.3.0.patch; + patches = [ ./lein-fix-jar-path.patch ]; inherit rlwrap clojure gnupg findutils coreutils jdk; diff --git a/pkgs/development/tools/build-managers/leiningen/lein_2.3.0.patch b/pkgs/development/tools/build-managers/leiningen/lein-fix-jar-path.patch similarity index 100% rename from pkgs/development/tools/build-managers/leiningen/lein_2.3.0.patch rename to pkgs/development/tools/build-managers/leiningen/lein-fix-jar-path.patch