depot/third_party/nixpkgs/pkgs/development/ocaml-modules/syslog-message/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

32 lines
707 B
Nix

{ lib, buildDunePackage, fetchurl
, astring, ptime, rresult, qcheck
}:
buildDunePackage rec {
pname = "syslog-message";
version = "1.2.0";
minimalOCamlVersion = "4.08";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/verbosemode/${pname}/releases/download/${version}/${pname}-${version}.tbz";
hash = "sha256-+eyiv6JvC0EKs3G1s5qoFtK0bU4Yg41AHg5Nc6xD9w0=";
};
propagatedBuildInputs = [
ptime
];
doCheck = true;
checkInputs = [
qcheck
];
meta = with lib; {
description = "Syslog message parser";
homepage = "https://github.com/verbosemode/syslog-message";
license = licenses.bsd2;
maintainers = [ maintainers.sternenseemann ];
};
}