ocamlPackages.syslog-message: use Dune 3
This commit is contained in:
parent
8787829c48
commit
1c09f02cc6
|
@ -1,5 +1,4 @@
|
||||||
{ lib, buildDunePackage, fetchurl
|
{ lib, buildDunePackage, fetchurl
|
||||||
, ocaml
|
|
||||||
, astring, ptime, rresult, qcheck
|
, astring, ptime, rresult, qcheck
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -7,13 +6,12 @@ buildDunePackage rec {
|
||||||
pname = "syslog-message";
|
pname = "syslog-message";
|
||||||
version = "1.1.0";
|
version = "1.1.0";
|
||||||
|
|
||||||
minimumOCamlVersion = "4.03";
|
minimalOCamlVersion = "4.08";
|
||||||
|
duneVersion = "3";
|
||||||
useDune2 = true;
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/verbosemode/${pname}/releases/download/${version}/${pname}-${version}.tbz";
|
url = "https://github.com/verbosemode/${pname}/releases/download/${version}/${pname}-${version}.tbz";
|
||||||
sha256 = "0vy4dkl2q2fa6rzyfsvjyc9r1b9ymfqd6j35z2kp5vdc4r87053g";
|
hash = "sha256:0vy4dkl2q2fa6rzyfsvjyc9r1b9ymfqd6j35z2kp5vdc4r87053g";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -22,7 +20,7 @@ buildDunePackage rec {
|
||||||
rresult
|
rresult
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
doCheck = true;
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
qcheck
|
qcheck
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue