diff options
Diffstat (limited to 'pkgs/development/ocaml-modules/mparser/default.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/mparser/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/mparser/default.nix b/pkgs/development/ocaml-modules/mparser/default.nix new file mode 100644 index 00000000000..5f63a98a130 --- /dev/null +++ b/pkgs/development/ocaml-modules/mparser/default.nix @@ -0,0 +1,21 @@ +{ lib, fetchFromGitHub, buildDunePackage }: + +buildDunePackage rec { + pname = "mparser"; + version = "1.3"; + useDune2 = true; + + src = fetchFromGitHub { + owner = "murmour"; + repo = "mparser"; + rev = version; + sha256 = "16j19v16r42gcsii6a337zrs5cxnf12ig0vaysxyr7sq5lplqhkx"; + }; + + meta = { + description = "A simple monadic parser combinator OCaml library"; + license = lib.licenses.lgpl21Plus; + homepage = "https://github.com/murmour/mparser"; + maintainers = [ lib.maintainers.vbgl ]; + }; +} |