diff options
Diffstat (limited to 'pkgs/development/tools/ocaml')
-rw-r--r-- | pkgs/development/tools/ocaml/dune-release/default.nix | 9 |
1 files changed, 7 insertions, 2 deletions
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 ]; }; |