nixpkgs/pkgs/development/tools/build-managers/leiningen/default.nix

37 lines
986 B
Nix
Raw Normal View History

2014-02-08 12:48:50 -08:00
{ stdenv, fetchurl, makeWrapper
2014-11-01 16:47:52 -07:00
, coreutils, findutils, jdk, rlwrap, gnupg }:
stdenv.mkDerivation rec {
pname = "leiningen";
2014-09-18 15:29:16 -07:00
version = "2.5.0";
name = "${pname}-${version}";
src = fetchurl {
url = "https://raw.github.com/technomancy/leiningen/${version}/bin/lein-pkg";
2014-09-18 15:29:16 -07:00
sha256 = "1drl35313xp2gg5y52wp8414i2fm806rhgcsghl4igrm3afrv85x";
};
jarsrc = fetchurl {
2014-06-10 02:49:47 -07:00
url = "https://github.com/technomancy/leiningen/releases/download/${version}/${name}-standalone.jar";
2014-09-18 15:29:16 -07:00
sha256 = "0fd7yqrj9asx1n3nszli7hr4fj47v2pdr9msk5g75955pw7yavp9";
};
2014-06-10 02:49:47 -07:00
patches = [ ./lein-fix-jar-path.patch ];
2014-11-01 16:47:52 -07:00
inherit rlwrap gnupg findutils coreutils jdk;
builder = ./builder.sh;
buildInputs = [ makeWrapper ];
2014-11-01 16:47:52 -07:00
propagatedBuildInputs = [ jdk ];
meta = {
2013-08-13 14:48:26 -07:00
homepage = http://leiningen.org/;
description = "Project automation for Clojure";
license = "EPL";
2013-10-08 02:05:19 -07:00
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
};
}