Package elixir and rebar.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
This commit is contained in:
Moritz Ulrich
2013-08-07 16:06:11 +02:00
parent e32b26c222
commit ceb96b7312
3 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
{ stdenv, fetchurl, erlang }:
stdenv.mkDerivation {
name = "rebar-2.1.0-pre";
src = fetchurl {
url = "https://github.com/basho/rebar/archive/2.1.0-pre.tar.gz";
sha256 = "0dsbk9ssvk1hx9275900dg4bz79kpwcid4gsz09ziiwzv0jjbrjn";
};
buildInputs = [ erlang ];
buildPhase = "escript bootstrap";
installPhase = ''
mkdir -p $out/bin
cp rebar $out/bin/rebar
'';
}