python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / ocaml-modules / syslog-message / default.nix
blob2c12415cdbb2ecf8d2cebc3998ba3f9332770abd
1 { lib, buildDunePackage, fetchurl
2 , ocaml
3 , astring, ptime, rresult, qcheck
4 }:
6 buildDunePackage rec {
7   pname = "syslog-message";
8   version = "1.1.0";
10   minimumOCamlVersion = "4.03";
12   useDune2 = true;
14   src = fetchurl {
15     url = "https://github.com/verbosemode/${pname}/releases/download/${version}/${pname}-${version}.tbz";
16     sha256 = "0vy4dkl2q2fa6rzyfsvjyc9r1b9ymfqd6j35z2kp5vdc4r87053g";
17   };
19   propagatedBuildInputs = [
20     astring
21     ptime
22     rresult
23   ];
25   doCheck = lib.versionAtLeast ocaml.version "4.08";
26   checkInputs = [
27     qcheck
28   ];
30   meta = with lib; {
31     description = "Syslog message parser";
32     homepage = "https://github.com/verbosemode/syslog-message";
33     license = licenses.bsd2;
34     maintainers = [ maintainers.sternenseemann ];
35   };