ocamlPackages.syslog-message: use Dune 3

This commit is contained in:
Vincent Laporte 2023-04-05 06:17:40 +02:00
parent 8787829c48
commit 1c09f02cc6
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

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