Files
nixpkgs/pkgs/development/ocaml-modules/syslog-message/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

37 lines
697 B
Nix

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