Skip to content

Commit

Permalink
feat: add package ocamlPackages.nice_parser
Browse files Browse the repository at this point in the history
  • Loading branch information
tiferrei authored and vbgl committed Feb 17, 2025
1 parent 43febf8 commit f4e3a80
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pkgs/development/ocaml-modules/nice_parser/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/ocaml-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit f4e3a80

Please sign in to comment.