3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/erlang/hex2nix/default.nix

30 lines
650 B
Nix
Raw Normal View History

{ fetchFromGitHub, buildRebar3,
2016-01-11 01:51:23 +00:00
# Erlang dependencies:
ibrowse_4_2_2,
getopt_0_8_2,
erlware_commons_1_0_0,
jsx_2_8_0 }:
2017-09-10 22:39:14 +01:00
2016-01-11 01:51:23 +00:00
buildRebar3 rec {
name = "hex2nix";
version = "0.0.6-a31eadd7";
2016-01-11 01:51:23 +00:00
src = fetchFromGitHub {
owner = "erlang-nix";
repo = "hex2nix";
rev = "a31eadd7af2cbdac1b87991b378e98ea4fb40ae0";
sha256 = "1hnkrksyrbpq2gq25rfsrnm86n0g3biab88gswm3zj88ddrz6dyk";
2016-04-20 22:07:58 +01:00
};
2016-01-11 01:51:23 +00:00
beamDeps = [ ibrowse_4_2_2 jsx_2_8_0 erlware_commons_1_0_0 getopt_0_8_2 ];
2016-01-11 01:51:23 +00:00
2017-09-10 22:39:14 +01:00
enableDebugInfo = true;
2016-01-11 01:51:23 +00:00
installPhase = ''
runHook preInstall
make PREFIX=$out install
runHook postInstall
'';
}