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
This commit is contained in:
parent
838e1c1165
commit
3a90f6d5ba
|
@ -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 ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue