rebar3: 3.15.1 -> 3.16.0

David 454255ee 3ff0ef56

Changed files
+8 -22
pkgs
development
tools
build-managers
+4 -13
pkgs/development/tools/build-managers/rebar3/default.nix
···
-
{ lib, stdenv, fetchFromGitHub, fetchpatch,
fetchHex, erlang, makeWrapper,
writeScript, common-updater-scripts, coreutils, git, gnused, nix, rebar3-nix }:
let
-
version = "3.15.1";
owner = "erlang";
deps = import ./rebar-deps.nix { inherit fetchFromGitHub fetchHex; };
rebar3 = stdenv.mkDerivation rec {
···
inherit owner;
repo = pname;
rev = version;
-
sha256 = "1pcy5m79g0l9l3d8lkbx6cq1w87z1g3sa6wwvgbgraj2v3wkyy5g";
};
buildInputs = [ erlang ];
-
-
patches = [
-
# TODO: remove this on next rebar3 release
-
(fetchpatch {
-
name = "escriptize-erl-libs";
-
url = "https://github.com/erlang/rebar3/commit/8049a92512420b0967a4c23acfa304d8ca7a712e.patch";
-
sha256 = "0jzdy7n2nz4v38nn76bgjcmssvqgvdhy9v2gl867ylwqn1y5sdm1";
-
})
-
];
postPatch = ''
mkdir -p _checkouts _build/default/lib/
···
# global-deps.patch makes it possible to use REBAR_GLOBAL_PLUGINS to
# instruct rebar3 to always load a certain plugin. It is necessary since
# REBAR_GLOBAL_CONFIG_DIR doesn't seem to work for this.
-
patches = old.patches ++ [ ./skip-plugins.patch ./global-plugins.patch ];
}));
in stdenv.mkDerivation {
pname = "rebar3-with-plugins";
···
+
{ lib, stdenv, fetchFromGitHub,
fetchHex, erlang, makeWrapper,
writeScript, common-updater-scripts, coreutils, git, gnused, nix, rebar3-nix }:
let
+
version = "3.16.0";
owner = "erlang";
deps = import ./rebar-deps.nix { inherit fetchFromGitHub fetchHex; };
rebar3 = stdenv.mkDerivation rec {
···
inherit owner;
repo = pname;
rev = version;
+
sha256 = "1yqvm37l5rn5dyg4sc2hv47930s2524qrdpnjwy3zqa27r7k5n36";
};
buildInputs = [ erlang ];
postPatch = ''
mkdir -p _checkouts _build/default/lib/
···
# global-deps.patch makes it possible to use REBAR_GLOBAL_PLUGINS to
# instruct rebar3 to always load a certain plugin. It is necessary since
# REBAR_GLOBAL_CONFIG_DIR doesn't seem to work for this.
+
patches = [ ./skip-plugins.patch ./global-plugins.patch ];
}));
in stdenv.mkDerivation {
pname = "rebar3-with-plugins";
+4 -9
pkgs/development/tools/build-managers/rebar3/rebar-deps.nix
···
version = "1.8.1";
sha256 = "sha256-5FdFrenEdqmkaeoIQOQYqxk2DcRPAaIzME4RikRIa6A=";
};
-
parse_trans = fetchHex {
-
pkg = "parse_trans";
-
version = "3.3.1";
-
sha256 = "sha256-B82Vd4hfVjYtQU6MTE5r3xDUOodnq7ktJMvoskxUiIs=";
-
};
getopt = fetchHex {
pkg = "getopt";
version = "1.0.1";
···
};
erlware_commons = fetchHex {
pkg = "erlware_commons";
-
version = "1.4.0";
-
sha256 = "sha256-GF7PXPQ7qzoBPds2FM57un9seoJ5BOZOV9pU/N/c4uY=";
};
cth_readable = fetchHex {
pkg = "cth_readable";
···
};
certifi = fetchHex {
pkg = "certifi";
-
version = "2.5.3";
-
sha256 = "sha256-7VFqyzkpsQEgip1wAGLVIPOVPaO2uRjYZhBv+pgOHBA=";
};
bbmustache = fetchHex {
pkg = "bbmustache";
···
version = "1.8.1";
sha256 = "sha256-5FdFrenEdqmkaeoIQOQYqxk2DcRPAaIzME4RikRIa6A=";
};
getopt = fetchHex {
pkg = "getopt";
version = "1.0.1";
···
};
erlware_commons = fetchHex {
pkg = "erlware_commons";
+
version = "1.5.0";
+
sha256 = "sha256-PnxvsrpMKbDdXf6dAxtmRJ4giOzsGoFGW9n94F7X0Ns=";
};
cth_readable = fetchHex {
pkg = "cth_readable";
···
};
certifi = fetchHex {
pkg = "certifi";
+
version = "2.6.1";
+
sha256 = "sha256-UkyXtJkbOEndXBemMSI4licsawr0RneLpGdaHf9Tu34=";
};
bbmustache = fetchHex {
pkg = "bbmustache";