nixpkgs/pkgs/development/tools/erlang/rebar3-nix-bootstrap/default.nix
Gleb Peregud 0692c6a96d Make rebar3-nix-bootstrap depend on erlang.
This fixes patchShebangs ability to properly fix up path to escript
binary.
2016-01-16 18:53:48 +01:00

24 lines
674 B
Nix

{stdenv, fetchFromGitHub, erlang }:
stdenv.mkDerivation rec {
name = "rebar3-nix-bootstrap";
version = "0.0.1";
src = fetchFromGitHub {
owner = "erlang-nix";
repo = "rebar3-nix-bootstrap";
rev = "${version}";
sha256 = "0xyj7j59dmxyl5nhhsmb0r1pihmk0s4k02ga1rfgm30rij6n7431";
};
buildInputs = [ erlang ];
installFlags = "PREFIX=$(out)";
meta = {
description = "Shim command to help bootstrap a rebar3 project on Nix";
license = stdenv.lib.licenses.asl20;
homepage = "https://github.com/erl-nix/rebar3-nix-bootstrap";
maintainers = with stdenv.lib.maintainers; [ ericbmerritt ];
};
}