1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 08:31:59 +00:00
nixpkgs/pkgs/development/ocaml-modules/dolmen/default.nix

28 lines
724 B
Nix
Raw Normal View History

{ 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;
};
}