nixpkgs/pkgs/development/tools/erlang/rebar3-nix-bootstrap/default.nix

25 lines
677 B
Nix
Raw Normal View History

{stdenv, fetchFromGitHub, erlang }:
2016-01-14 07:07:13 -08:00
stdenv.mkDerivation rec {
name = "rebar3-nix-bootstrap";
2016-01-19 03:36:24 -08:00
version = "0.0.3";
2016-01-14 07:07:13 -08:00
src = fetchFromGitHub {
owner = "erlang-nix";
repo = "rebar3-nix-bootstrap";
rev = "${version}";
2016-01-19 03:36:24 -08:00
sha256 = "01yyaz104jj3mxx8k10q3rwpn2rh13q1ja5r0iq37qyjmg8xflhq";
2016-01-14 07:07:13 -08:00
};
buildInputs = [ erlang ];
2016-01-14 07:07:13 -08:00
installFlags = "PREFIX=$(out)";
meta = {
description = "Shim command to help bootstrap a rebar3 project on Nix";
license = stdenv.lib.licenses.asl20;
homepage = "https://github.com/erlang-nix/rebar3-nix-bootstrap";
2016-01-14 07:07:13 -08:00
maintainers = with stdenv.lib.maintainers; [ ericbmerritt ];
};
}