summary refs log tree commit diff
path: root/pkgs/development/tools/ocaml
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2023-06-24 04:20:00 +0000
committersternenseemann <sternenseemann@systemli.org>2023-06-25 12:12:18 +0200
commit3a90f6d5bad9ec272c6ea0b245793f41b47f1725 (patch)
tree0cdc2fc22afd0512000248466da4d76f09756ee3 /pkgs/development/tools/ocaml
parent838e1c1165a10ae034821cd0250719e409c5339f (diff)
downloadnixpkgs-3a90f6d5bad9ec272c6ea0b245793f41b47f1725.tar
nixpkgs-3a90f6d5bad9ec272c6ea0b245793f41b47f1725.tar.gz
nixpkgs-3a90f6d5bad9ec272c6ea0b245793f41b47f1725.tar.bz2
nixpkgs-3a90f6d5bad9ec272c6ea0b245793f41b47f1725.tar.lz
nixpkgs-3a90f6d5bad9ec272c6ea0b245793f41b47f1725.tar.xz
nixpkgs-3a90f6d5bad9ec272c6ea0b245793f41b47f1725.tar.zst
nixpkgs-3a90f6d5bad9ec272c6ea0b245793f41b47f1725.zip
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
Diffstat (limited to 'pkgs/development/tools/ocaml')
-rw-r--r--pkgs/development/tools/ocaml/dune-release/default.nix9
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 ];
   };