relx-exe: init at 3.18.0
This adds an executable version of the relx library to the system.
This commit is contained in:
parent
e214f29168
commit
8d3d0a1ca9
38
pkgs/development/tools/erlang/relx-exe/default.nix
Normal file
38
pkgs/development/tools/erlang/relx-exe/default.nix
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
{ stdenv, beamPackages, makeWrapper, fetchHex, erlang }:
|
||||||
|
beamPackages.buildRebar3 {
|
||||||
|
name = "relx-exe";
|
||||||
|
version = "3.18.0";
|
||||||
|
src = fetchHex {
|
||||||
|
pkg = "relx";
|
||||||
|
version = "3.18.0";
|
||||||
|
sha256 =
|
||||||
|
"e76e0446b8d1b113f2b7dcc713f032ccdf1dbda33d76edfeb19c2b6b686dcad7";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ makeWrapper erlang ];
|
||||||
|
|
||||||
|
beamDeps = with beamPackages; [
|
||||||
|
providers_1_6_0
|
||||||
|
getopt_0_8_2
|
||||||
|
erlware_commons_0_19_0
|
||||||
|
cf_0_2_1
|
||||||
|
bbmustache_1_0_4
|
||||||
|
];
|
||||||
|
|
||||||
|
postBuild = ''
|
||||||
|
HOME=. rebar3 escriptize
|
||||||
|
'';
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mkdir -p "$out/bin"
|
||||||
|
cp -r "_build/default/bin/relx" "$out/bin/relx"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Executable command for Relx";
|
||||||
|
license = stdenv.lib.licenses.asl20;
|
||||||
|
homepage = "https://github.com/erlware/relx";
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ ericbmerritt ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -5319,7 +5319,9 @@ in
|
|||||||
hex2nix = beamPackages.callPackage ../development/tools/erlang/hex2nix { };
|
hex2nix = beamPackages.callPackage ../development/tools/erlang/hex2nix { };
|
||||||
cuter = callPackage ../development/tools/erlang/cuter { };
|
cuter = callPackage ../development/tools/erlang/cuter { };
|
||||||
|
|
||||||
elixir = callPackage ../development/interpreters/elixir { };
|
relxExe = callPackage ../development/tools/erlang/relx-exe {};
|
||||||
|
|
||||||
|
elixir = callPackage ../development/interpreters/elixir { debugInfo = true; };
|
||||||
|
|
||||||
groovy = callPackage ../development/interpreters/groovy { };
|
groovy = callPackage ../development/interpreters/groovy { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user