depot/third_party/nixpkgs/pkgs/development/ocaml-modules/syslog-message/default.nix
Default email ffc78d3539 Project import generated by Copybara.
GitOrigin-RevId: d9dba88d08a9cdf483c3d45f0d7220cf97a4ce64
2021-01-05 19:05:55 +02:00

35 lines
733 B
Nix

{ lib, buildDunePackage, fetchurl
, 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
];
doCheck = true;
checkInputs = [
qcheck
];
meta = with lib; {
description = "Syslog message parser";
homepage = "https://github.com/verbosemode/syslog-message";
license = licenses.bsd2;
maintainers = [ maintainers.sternenseemann ];
};
}