ocamlPackages.dolmen: init at 0.2
dolmen is an OCaml library providing clean and flexible parsers for input languages Homepage: https://github.com/Gbury/dolmen
This commit is contained in:
parent
61e4313bf1
commit
23894b77a7
27
pkgs/development/ocaml-modules/dolmen/default.nix
Normal file
27
pkgs/development/ocaml-modules/dolmen/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, menhir }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "ocaml${ocaml.version}-dolmen-${version}";
|
||||||
|
version = "0.2";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Gbury";
|
||||||
|
repo = "dolmen";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1b9mf8p6mic0n76acx8x82hhgm2n40sdv0jri95im65l52223saf";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ ocaml findlib ocamlbuild ];
|
||||||
|
propagatedBuildInputs = [ menhir ];
|
||||||
|
|
||||||
|
makeFlags = "-C src";
|
||||||
|
|
||||||
|
createFindlibDestdir = true;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "An OCaml library providing clean and flexible parsers for input languages";
|
||||||
|
license = stdenv.lib.licenses.bsd2;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
||||||
|
inherit (src.meta) homepage;
|
||||||
|
inherit (ocaml.meta) platforms;
|
||||||
|
};
|
||||||
|
}
|
@ -146,6 +146,8 @@ let
|
|||||||
|
|
||||||
ctypes = callPackage ../development/ocaml-modules/ctypes { };
|
ctypes = callPackage ../development/ocaml-modules/ctypes { };
|
||||||
|
|
||||||
|
dolmen = callPackage ../development/ocaml-modules/dolmen { };
|
||||||
|
|
||||||
dolog = callPackage ../development/ocaml-modules/dolog { };
|
dolog = callPackage ../development/ocaml-modules/dolog { };
|
||||||
|
|
||||||
easy-format = callPackage ../development/ocaml-modules/easy-format { };
|
easy-format = callPackage ../development/ocaml-modules/easy-format { };
|
||||||
|
Loading…
Reference in New Issue
Block a user