about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/syslog-message/default.nix
blob: 73cbba8be3914ff6bd12282587c9d082a504ef64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ lib, buildDunePackage, fetchurl
, astring, ptime, rresult, qcheck
}:

buildDunePackage rec {
  pname = "syslog-message";
  version = "1.1.0";

  minimalOCamlVersion = "4.08";
  duneVersion = "3";

  src = fetchurl {
    url = "https://github.com/verbosemode/${pname}/releases/download/${version}/${pname}-${version}.tbz";
    hash = "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 ];
  };
}