diff --git a/pkgs/development/ocaml-modules/syslog-message/default.nix b/pkgs/development/ocaml-modules/syslog-message/default.nix index 2c12415cdbb2..73cbba8be391 100644 --- a/pkgs/development/ocaml-modules/syslog-message/default.nix +++ b/pkgs/development/ocaml-modules/syslog-message/default.nix @@ -1,5 +1,4 @@ { lib, buildDunePackage, fetchurl -, ocaml , astring, ptime, rresult, qcheck }: @@ -7,13 +6,12 @@ buildDunePackage rec { pname = "syslog-message"; version = "1.1.0"; - minimumOCamlVersion = "4.03"; - - useDune2 = true; + minimalOCamlVersion = "4.08"; + duneVersion = "3"; src = fetchurl { url = "https://github.com/verbosemode/${pname}/releases/download/${version}/${pname}-${version}.tbz"; - sha256 = "0vy4dkl2q2fa6rzyfsvjyc9r1b9ymfqd6j35z2kp5vdc4r87053g"; + hash = "sha256:0vy4dkl2q2fa6rzyfsvjyc9r1b9ymfqd6j35z2kp5vdc4r87053g"; }; propagatedBuildInputs = [ @@ -22,7 +20,7 @@ buildDunePackage rec { rresult ]; - doCheck = lib.versionAtLeast ocaml.version "4.08"; + doCheck = true; checkInputs = [ qcheck ];