Unverified Commit 1c09f02c authored by Vincent Laporte's avatar Vincent Laporte
Browse files

ocamlPackages.syslog-message: use Dune 3

parent 8787829c
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
{ 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
  ];