mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 07:31:20 +00:00
ocamlPackages.syslog-message: init at 1.1.0
This commit is contained in:
parent
f38596852f
commit
7b968c79a1
35
pkgs/development/ocaml-modules/syslog-message/default.nix
Normal file
35
pkgs/development/ocaml-modules/syslog-message/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
|
@ -738,6 +738,8 @@ let
|
|||
|
||||
syslog = callPackage ../development/ocaml-modules/syslog { };
|
||||
|
||||
syslog-message = callPackage ../development/ocaml-modules/syslog-message { };
|
||||
|
||||
ocaml_text = callPackage ../development/ocaml-modules/ocaml-text { };
|
||||
|
||||
ocaml-version = callPackage ../development/ocaml-modules/ocaml-version { };
|
||||
|
|
Loading…
Reference in a new issue