3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #226101 from Niols/morbig-0.11.0

ocamlPackages.morbig: init at 0.11.0
This commit is contained in:
Ulrik Strid 2023-04-14 08:44:58 +02:00 committed by GitHub
commit 5e4d67d293
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 { };