ocamlPackages.morbig: init at 0.11.0

This commit is contained in:
Niols 2023-04-14 02:53:10 +01:00
parent 2657fbd90d
commit 695337622b
No known key found for this signature in database
GPG key ID: 0B4EB01A5527EA54
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ lib, buildDunePackage, fetchFromGitHub, ocamlPackages }:
buildDunePackage rec {
pname = "morbig";
version = "0.11.0";
src = fetchFromGitHub {
owner = "colis-anr";
repo = pname;
rev = "v${version}";
sha256 = "sha256-fOBaJHHP/Imi9UDLflI52OdKDcmMxpl+NH3pfofmv/o=";
};
duneVersion = "3";
nativeBuildInputs = with ocamlPackages; [
menhir
];
propagatedBuildInputs = with ocamlPackages; [
menhirLib
ppx_deriving_yojson
visitors
yojson
];
meta = with lib; {
homepage = "https://github.com/colis-anr/${pname}";
description = "A static parser for POSIX Shell";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ niols ];
};
}

View file

@ -1042,6 +1042,8 @@ let
mmap = callPackage ../development/ocaml-modules/mmap { };
morbig = callPackage ../development/ocaml-modules/morbig { };
mparser = callPackage ../development/ocaml-modules/mparser { };
mparser-pcre = callPackage ../development/ocaml-modules/mparser/pcre.nix { };