feat: add package ocamlPackages.nice_parser

This commit is contained in:
Tiago Ferreira 2025-02-15 12:56:43 +00:00 committed by Vincent Laporte
parent 43febf853e
commit f4e3a80f9a
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{
lib,
buildDunePackage,
fetchFromGitHub,
stdio,
}:
buildDunePackage rec {
pname = "nice_parser";
version = "1.0.0";
minimalOCamlVersion = "4.07";
src = fetchFromGitHub {
owner = "smolkaj";
repo = "nice-parser";
tag = version;
hash = "sha256-h1rqdv19tUH3CsL3OLsTmKir7YCYt4PaW19ymotEvIY=";
};
propagatedBuildInputs = [
stdio
];
meta = {
inherit (src.meta) homepage;
description = "Nice parsers without the boilerplate";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.tiferrei ];
};
}

View File

@ -1269,6 +1269,8 @@ let
netchannel = callPackage ../development/ocaml-modules/netchannel { };
nice_parser = callPackage ../development/ocaml-modules/nice_parser { };
ninja_utils = callPackage ../development/ocaml-modules/ninja_utils { };
nonstd = callPackage ../development/ocaml-modules/nonstd { };