hex2nix: init at 0.0.2

This commit is contained in:
Eric Merritt 2016-01-10 17:51:23 -08:00
parent b1719f9fcc
commit 4ed5836dd3
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{stdenv, fetchFromGitHub, buildRebar3, ibrowse, jsx, erlware_commons, getopt }:
buildRebar3 rec {
name = "hex2nix";
version = "0.0.2";
src = fetchFromGitHub {
owner = "erlang-nix";
repo = "hex2nix";
rev = "${version}";
sha256 = "18gkq5fkdiwq5zj98cz4kqxbpzjkpqcplpsw987drxwdbvq4hkwm";
};
erlangDeps = [ ibrowse jsx erlware_commons getopt ];
DEBUG=1;
installPhase = ''
runHook preInstall
make PREFIX=$out install
runHook postInstall
'';
}

View File

@ -5099,6 +5099,7 @@ let
fetchHex = callPackage ../development/tools/build-managers/rebar3/fetch-hex.nix { };
erlangPackages = callPackage ../development/erlang-modules { };
hex2nix = erlangPackages.callPackage ../development/tools/erlang/hex2nix { };
elixir = callPackage ../development/interpreters/elixir { };