ppx_unicode/package.nix

32 lines
434 B
Nix
Raw Normal View History

2024-04-25 06:26:41 +00:00
{
lib,
mkShell,
2024-05-14 23:06:55 +00:00
gitSource,
2024-04-25 06:26:41 +00:00
buildDunePackage,
ppxlib,
uunf,
ocaml,
dune_3,
odoc,
utop,
enableShell ? false
}:
2024-05-14 23:06:55 +00:00
buildDunePackage rec {
2024-04-25 06:26:41 +00:00
pname = "ppx_unicode";
2024-04-25 06:53:01 +00:00
version = "0.1.0";
2024-05-14 23:06:55 +00:00
src = gitSource { root = ./.; };
2024-04-25 06:26:41 +00:00
minimalOCamlVersion = "5.1";
dontStrip = true;
2024-04-25 06:53:01 +00:00
propagatedBuildInputs = [ ppxlib uunf ];
2024-04-25 06:26:41 +00:00
2024-04-25 06:53:01 +00:00
nativeBuildInputs = [ ppxlib ] ++ lib.optionals enableShell [
2024-04-25 06:26:41 +00:00
ocaml dune_3 odoc utop
];
}