2021-01-05 17:05:55 +00:00
|
|
|
{ lib, buildDunePackage, fetchurl
|
|
|
|
, astring, ptime, rresult, qcheck
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "syslog-message";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "1.2.0";
|
2021-01-05 17:05:55 +00:00
|
|
|
|
2023-04-12 12:48:02 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
duneVersion = "3";
|
2021-01-05 17:05:55 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/verbosemode/${pname}/releases/download/${version}/${pname}-${version}.tbz";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-+eyiv6JvC0EKs3G1s5qoFtK0bU4Yg41AHg5Nc6xD9w0=";
|
2021-01-05 17:05:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
ptime
|
|
|
|
];
|
|
|
|
|
2023-04-12 12:48:02 +00:00
|
|
|
doCheck = true;
|
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 ];
|
|
|
|
};
|
|
|
|
}
|