feat: add package ocamlPackages.nice_parser
This commit is contained in:
parent
43febf853e
commit
f4e3a80f9a
30
pkgs/development/ocaml-modules/nice_parser/default.nix
Normal file
30
pkgs/development/ocaml-modules/nice_parser/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
@ -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 { };
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user