Mario Rodas 2023-06-24 04:20:00 +00:00 committed by sternenseemann
parent 838e1c1165
commit 3a90f6d5ba

View file

@ -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 ];
};