ocamlPackages.mparser: init at 1.2.1

MParser is a simple monadic parser combinator library for OCaml.

Homepage: https://github.com/cakeplus/mparser/
This commit is contained in:
Vincent Laporte 2017-02-22 18:21:29 +00:00
parent de4643eb80
commit cb6d15549a
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ stdenv, fetchzip, ocaml, findlib, ocamlbuild }:
stdenv.mkDerivation {
name = "ocaml${ocaml.version}-mparser-1.2.1";
src = fetchzip {
url = http://github.com/cakeplus/mparser/archive/1.2.1.tar.gz;
sha256 = "1g1r3p0inmm5xwh9i5mrc4s414b0j8l13a66hpvwhqcpp6qglfh3";
};
buildInputs = [ ocaml findlib ocamlbuild ];
configurePhase = "ocaml setup.ml -configure";
buildPhase = "ocaml setup.ml -build";
installPhase = "ocaml setup.ml -install";
createFindlibDestdir = true;
meta = {
description = "A simple monadic parser combinator OCaml library";
license = stdenv.lib.licenses.lgpl21Plus;
homepage = https://github.com/cakeplus/mparser;
maintainers = [ stdenv.lib.maintainers.vbgl ];
inherit (ocaml.meta) platforms;
};
}

View File

@ -281,6 +281,8 @@ let
mlgmpidl = callPackage ../development/ocaml-modules/mlgmpidl { };
mparser = callPackage ../development/ocaml-modules/mparser { };
mtime = callPackage ../development/ocaml-modules/mtime { };
nocrypto = callPackage ../development/ocaml-modules/nocrypto {