nixpkgs/pkgs/development/tools/erlang/hex2nix/default.nix

24 lines
515 B
Nix
Raw Normal View History

2016-01-11 02:51:23 +01:00
{stdenv, fetchFromGitHub, buildRebar3, ibrowse, jsx, erlware_commons, getopt }:
buildRebar3 rec {
name = "hex2nix";
2016-04-20 23:07:58 +02:00
version = "0.0.5";
2016-01-11 02:51:23 +01:00
src = fetchFromGitHub {
2016-04-20 23:07:58 +02:00
owner = "erlang-nix";
repo = "hex2nix";
rev = "${version}";
sha256 = "07bk18nib4xms8q1i4sv53drvlyllm47map4c95669lsh0j08sax";
};
2016-01-11 02:51:23 +01:00
2016-04-20 23:07:58 +02:00
beamDeps = [ ibrowse jsx erlware_commons getopt ];
2016-01-11 02:51:23 +01:00
DEBUG=1;
installPhase = ''
runHook preInstall
make PREFIX=$out install
runHook postInstall
'';
}