Unverified Commit 5e4d67d2 authored by Ulrik Strid's avatar Ulrik Strid Committed by GitHub
Browse files

Merge pull request #226101 from Niols/morbig-0.11.0

ocamlPackages.morbig: init at 0.11.0
parents 0101dac2 69533762
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };