1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Update leiningen to 2.3.0.

Unfortunately, leiningen will now pull in some dependencies via maven (via http) on `lein version' so the test at the end of builder.sh failed. This is okay because leiningen is used only as a interactive tool and no other package in Nixpkgs depends on it.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
This commit is contained in:
Moritz Ulrich 2013-08-09 17:30:10 +02:00
parent 4be1055c40
commit 02707296e8
3 changed files with 7 additions and 11 deletions

View file

@ -21,7 +21,3 @@ chmod -v 755 $out_bin
patchShebangs $out
wrapProgram $out_bin --prefix PATH ":" ${rlwrap}/bin
echo "Testing out \"lein version\"..."
$out_bin version
echo "Success."

View file

@ -1,21 +1,21 @@
{stdenv, fetchurl, makeWrapper, openjdk, rlwrap, clojure }:
{ stdenv, fetchurl, makeWrapper, jdk, rlwrap, clojure }:
stdenv.mkDerivation rec {
pname = "leiningen";
version = "2.1.2";
version = "2.3.0";
name = "${pname}-${version}";
src = fetchurl {
url = "https://raw.github.com/technomancy/leiningen/${version}/bin/lein-pkg";
sha256 = "10s4xpwrhd8wz3h2vj8ay4rf2hw8vzswfkr8ckckk3fhjcn130dy";
sha256 = "18rk1rr9il5jc3103cnmii6hyc1j3k12d975sqrcqyg97h7f0jkb";
};
jarsrc = fetchurl {
url = "https://leiningen.s3.amazonaws.com/downloads/${pname}-${version}-standalone.jar";
sha256 = "08jq21zpsgwsmsz7lpfxidj2s3mv8i23fjwyl9qc6dngskkx45sa";
sha256 = "1higd309b43lly7fv1pd5lfd3lyrij95nrzklqmk8vf9llw6974p";
};
patches = ./lein_2.1.2.patch;
patches = ./lein_2.3.0.patch;
inherit rlwrap clojure;
@ -23,13 +23,13 @@ stdenv.mkDerivation rec {
buildInputs = [ makeWrapper ];
propagatedBuildInputs = [ openjdk clojure ];
propagatedBuildInputs = [ jdk clojure ];
meta = {
homepage = https://github.com/technomancy/leiningen;
description = "Project automation for Clojure";
license = "EPL";
platforms = stdenv.lib.platforms.unix;
maintainer = with stdenv.lib.maintainers; [the-kenny];
maintainer = with stdenv.lib.maintainers; [ the-kenny ];
};
}