2021-01-05 17:05:55 +00:00
|
|
|
{ lib, buildDunePackage, fetchurl
|
2021-09-28 08:13:01 +00:00
|
|
|
, ocaml
|
2021-01-05 17:05:55 +00:00
|
|
|
, astring, ptime, rresult, qcheck
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "syslog-message";
|
|
|
|
version = "1.1.0";
|
|
|
|
|
|
|
|
minimumOCamlVersion = "4.03";
|
|
|
|
|
|
|
|
useDune2 = true;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/verbosemode/${pname}/releases/download/${version}/${pname}-${version}.tbz";
|
|
|
|
sha256 = "0vy4dkl2q2fa6rzyfsvjyc9r1b9ymfqd6j35z2kp5vdc4r87053g";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
astring
|
|
|
|
ptime
|
|
|
|
rresult
|
|
|
|
];
|
|
|
|
|
2021-09-28 08:13:01 +00:00
|
|
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [
|
2021-01-05 17:05:55 +00:00
|
|
|
qcheck
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Syslog message parser";
|
|
|
|
homepage = "https://github.com/verbosemode/syslog-message";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = [ maintainers.sternenseemann ];
|
|
|
|
};
|
|
|
|
}
|