Files
nixpkgs/pkgs/development/ocaml-modules/pratter/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

39 lines
762 B
Nix

{
lib,
fetchFromGitLab,
buildDunePackage,
alcotest,
qcheck,
qcheck-alcotest,
}:
buildDunePackage rec {
version = "5.0.1";
pname = "pratter";
minimalOCamlVersion = "4.10";
src = fetchFromGitLab {
domain = "forge.tedomum.net";
owner = "koizel";
repo = "pratter";
tag = version;
hash = "sha256-Ib7EplEvOuYcAS9cfzo5994SqCv2eiysLekYfH09IMw=";
};
checkInputs = [
alcotest
qcheck
qcheck-alcotest
];
doCheck = true;
meta = {
description = "Extended Pratt parser";
homepage = "https://github.com/gabrielhdt/pratter";
license = lib.licenses.bsd3;
changelog = "https://github.com/gabrielhdt/pratter/raw/${version}/CHANGELOG.md";
maintainers = with lib.maintainers; [ bcdarwin ];
};
}