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

25 lines
674 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-18 14:02:03 -08:00
version = "0.0.2";
2016-01-14 07:07:13 -08:00
src = fetchFromGitHub {
owner = "erlang-nix";
repo = "rebar3-nix-bootstrap";
rev = "${version}";
2016-01-18 14:02:03 -08:00
sha256 = "1zvrjljvi5plx8qc8sn6krymv8hk8ihx766hrc8v4d840xphl236";
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/erl-nix/rebar3-nix-bootstrap";
maintainers = with stdenv.lib.maintainers; [ ericbmerritt ];
};
}