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:
parent
de4643eb80
commit
cb6d15549a
25
pkgs/development/ocaml-modules/mparser/default.nix
Normal file
25
pkgs/development/ocaml-modules/mparser/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
@ -281,6 +281,8 @@ let
|
|||||||
|
|
||||||
mlgmpidl = callPackage ../development/ocaml-modules/mlgmpidl { };
|
mlgmpidl = callPackage ../development/ocaml-modules/mlgmpidl { };
|
||||||
|
|
||||||
|
mparser = callPackage ../development/ocaml-modules/mparser { };
|
||||||
|
|
||||||
mtime = callPackage ../development/ocaml-modules/mtime { };
|
mtime = callPackage ../development/ocaml-modules/mtime { };
|
||||||
|
|
||||||
nocrypto = callPackage ../development/ocaml-modules/nocrypto {
|
nocrypto = callPackage ../development/ocaml-modules/nocrypto {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user