@@ -0,0 +1,22 @@
1+{stdenv, fetchFromGitHub }:
2+
3+stdenv.mkDerivation rec {
4+ name = "rebar3-nix-bootstrap";
5+ version = "0.0.1";
6+
7+ src = fetchFromGitHub {
8+ owner = "erlang-nix";
9+ repo = "rebar3-nix-bootstrap";
10+ rev = "${version}";
11+ sha256 = "0xyj7j59dmxyl5nhhsmb0r1pihmk0s4k02ga1rfgm30rij6n7431";
12+ };
13+
14+ installFlags = "PREFIX=$(out)";
15+
16+ meta = {
17+ description = "Shim command to help bootstrap a rebar3 project on Nix";
18+ license = stdenv.lib.licenses.asl20;
19+ homepage = "https://github.com/erl-nix/rebar3-nix-bootstrap";
20+ maintainers = with stdenv.lib.maintainers; [ ericbmerritt ];
21+ };
22+}