hex2nix: 0.0.6 -> 0.0.6-a31eadd7
Updates hex2nix to a new version that includes pinned dependencies. This allows building hex2nix even if newer versions of dependencies than what is packaged in `hex-packages.nix` are available in the package snapshot. The version of ibrowse used has been downgraded due to an issue in the library. Custom builds of the ibrowse and jsx dependencies have been removed from the derivation.
This commit is contained in:
parent
0cf4c90469
commit
74ca35bd81
@ -1,32 +1,23 @@
|
||||
{ stdenv, fetchFromGitHub, buildRebar3, buildHex
|
||||
{ stdenv, fetchFromGitHub, buildRebar3, buildHex,
|
||||
|
||||
, getopt_0_8_2, erlware_commons_1_0_0 }:
|
||||
# Erlang dependencies:
|
||||
ibrowse_4_2_2,
|
||||
getopt_0_8_2,
|
||||
erlware_commons_1_0_0,
|
||||
jsx_2_8_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 {
|
||||
name = "hex2nix";
|
||||
version = "0.0.6";
|
||||
version = "0.0.6-a31eadd7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "erlang-nix";
|
||||
repo = "hex2nix";
|
||||
rev = "${version}";
|
||||
sha256 = "17rkzg836v7z2xf0i5m8zqfvr23dbmw1bi3c83km92f9glwa1dbf";
|
||||
owner = "erlang-nix";
|
||||
repo = "hex2nix";
|
||||
rev = "a31eadd7af2cbdac1b87991b378e98ea4fb40ae0";
|
||||
sha256 = "1hnkrksyrbpq2gq25rfsrnm86n0g3biab88gswm3zj88ddrz6dyk";
|
||||
};
|
||||
|
||||
beamDeps = [ ibrowse_4_4_0 jsx_2_8_2 erlware_commons_1_0_0 getopt_0_8_2 ];
|
||||
beamDeps = [ ibrowse_4_2_2 jsx_2_8_0 erlware_commons_1_0_0 getopt_0_8_2 ];
|
||||
|
||||
enableDebugInfo = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user