hex2nix: 0.0.5 -> 0.0.6
This commit is contained in:
parent
b8adacf7e2
commit
52f8bec64b
2 changed files with 21 additions and 5 deletions
|
@ -80,6 +80,7 @@ let
|
||||||
version = "0.8.2";
|
version = "0.8.2";
|
||||||
sha256 = "1xw30h59zbw957cyjd8n50hf9y09jnv9dyry6x3avfwzcyrnsvkk";
|
sha256 = "1xw30h59zbw957cyjd8n50hf9y09jnv9dyry6x3avfwzcyrnsvkk";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Non hex packages. Examples how to build Rebar/Mix packages with and
|
# Non hex packages. Examples how to build Rebar/Mix packages with and
|
||||||
# without helper functions buildRebar3 and buildMix.
|
# without helper functions buildRebar3 and buildMix.
|
||||||
hex = callPackage ./hex {};
|
hex = callPackage ./hex {};
|
||||||
|
|
|
@ -1,19 +1,34 @@
|
||||||
{stdenv, fetchFromGitHub, buildRebar3, ibrowse, jsx, erlware_commons, getopt }:
|
{ stdenv, fetchFromGitHub, buildRebar3, buildHex
|
||||||
|
|
||||||
|
, getopt_0_8_2, erlware_commons_1_0_0 }:
|
||||||
|
|
||||||
|
let
|
||||||
|
ibrowse_4_4_0 = buildHex {
|
||||||
|
name = "ibrowse";
|
||||||
|
version = "4.4.0";
|
||||||
|
sha256 = "1hpic1xgksfm00mbl1kwmszca6jmjca32s7gdd8g11i0hy45k3ka";
|
||||||
|
};
|
||||||
|
jsx_2_8_2 = buildHex {
|
||||||
|
name = "jsx";
|
||||||
|
version = "2.8.2";
|
||||||
|
sha256 = "0k7lnmwqbgpmh90wy30kc0qlddkbh9r3sjlyayaqsz1r1cix7idl";
|
||||||
|
};
|
||||||
|
|
||||||
|
in
|
||||||
buildRebar3 rec {
|
buildRebar3 rec {
|
||||||
name = "hex2nix";
|
name = "hex2nix";
|
||||||
version = "0.0.5";
|
version = "0.0.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "erlang-nix";
|
owner = "erlang-nix";
|
||||||
repo = "hex2nix";
|
repo = "hex2nix";
|
||||||
rev = "${version}";
|
rev = "${version}";
|
||||||
sha256 = "07bk18nib4xms8q1i4sv53drvlyllm47map4c95669lsh0j08sax";
|
sha256 = "17rkzg836v7z2xf0i5m8zqfvr23dbmw1bi3c83km92f9glwa1dbf";
|
||||||
};
|
};
|
||||||
|
|
||||||
beamDeps = [ ibrowse jsx erlware_commons getopt ];
|
beamDeps = [ ibrowse_4_4_0 jsx_2_8_2 erlware_commons_1_0_0 getopt_0_8_2 ];
|
||||||
|
|
||||||
DEBUG=1;
|
enableDebugInfo = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
Loading…
Reference in a new issue