mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
24 lines
515 B
Nix
24 lines
515 B
Nix
{stdenv, fetchFromGitHub, buildRebar3, ibrowse, jsx, erlware_commons, getopt }:
|
|
|
|
buildRebar3 rec {
|
|
name = "hex2nix";
|
|
version = "0.0.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "erlang-nix";
|
|
repo = "hex2nix";
|
|
rev = "${version}";
|
|
sha256 = "07bk18nib4xms8q1i4sv53drvlyllm47map4c95669lsh0j08sax";
|
|
};
|
|
|
|
beamDeps = [ ibrowse jsx erlware_commons getopt ];
|
|
|
|
DEBUG=1;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
make PREFIX=$out install
|
|
runHook postInstall
|
|
'';
|
|
}
|