ocamlPackages.morbig: init at 0.11.0
This commit is contained in:
parent
2657fbd90d
commit
695337622b
33
pkgs/development/ocaml-modules/morbig/default.nix
Normal file
33
pkgs/development/ocaml-modules/morbig/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue