From 3a90f6d5bad9ec272c6ea0b245793f41b47f1725 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 24 Jun 2023 04:20:00 +0000 Subject: dune-release: 1.6.2 -> 2.0.0 Diff: https://github.com/ocamllabs/dune-release/compare/1.6.2...2.0.0 Changelog: https://github.com/tarides/dune-release/blob/2.0.0/CHANGES.md --- pkgs/development/tools/ocaml/dune-release/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'pkgs/development/tools/ocaml') diff --git a/pkgs/development/tools/ocaml/dune-release/default.nix b/pkgs/development/tools/ocaml/dune-release/default.nix index 7bc1f80c699..16c65b3ae24 100644 --- a/pkgs/development/tools/ocaml/dune-release/default.nix +++ b/pkgs/development/tools/ocaml/dune-release/default.nix @@ -10,14 +10,14 @@ let runtimeInputs = [ opam findlib git mercurial bzip2 gnutar coreutils ]; in buildDunePackage rec { pname = "dune-release"; - version = "1.6.2"; + version = "2.0.0"; duneVersion = "3"; minimalOCamlVersion = "4.06"; src = fetchurl { url = "https://github.com/ocamllabs/${pname}/releases/download/${version}/${pname}-${version}.tbz"; - sha256 = "sha256-oJ5SL7qNM5izoEpr+nTjbT+YmmNIoy7QgSNse3wNIA4="; + hash = "sha256-u8TgaoeDaDLenu3s1Km/Kh85WHMtvUy7C7Q+OY588Ss="; }; nativeBuildInputs = [ makeWrapper ] ++ runtimeInputs; @@ -34,6 +34,10 @@ in buildDunePackage rec { ''; preCheck = '' + export HOME=$TMPDIR + git config --global user.email "nix-builder@nixos.org" + git config --global user.name "Nix Builder" + # it fails when it tries to reference "./make_check_deterministic.exe" rm -r tests/bin/check ''; @@ -47,6 +51,7 @@ in buildDunePackage rec { meta = with lib; { description = "Release dune packages in opam"; homepage = "https://github.com/ocamllabs/dune-release"; + changelog = "https://github.com/tarides/dune-release/blob/${version}/CHANGES.md"; license = licenses.isc; maintainers = with maintainers; [ sternenseemann ]; }; -- cgit 1.4.1