mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
5ca9831cb1
ocamlPackages.menhirLib: init at 20210419 ocamlPackages.menhirSdk: init at 20210419
28 lines
764 B
Nix
28 lines
764 B
Nix
{ stdenv, lib, fetchFromGitHub, ocaml, findlib, ocamlbuild, menhir, menhirLib }:
|
|
|
|
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 menhir ];
|
|
propagatedBuildInputs = [ menhirLib ];
|
|
|
|
makeFlags = [ "-C" "src" ];
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
meta = {
|
|
description = "An OCaml library providing clean and flexible parsers for input languages";
|
|
license = lib.licenses.bsd2;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
inherit (src.meta) homepage;
|
|
inherit (ocaml.meta) platforms;
|
|
};
|
|
}
|