mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-06 13:53:05 +00:00
ac02f26980
ocamlPackages.cppo_ocamlbuild: init at 1.6.7
18 lines
336 B
Nix
18 lines
336 B
Nix
{ lib, buildDunePackage, cppo, ocamlbuild }:
|
|
|
|
if !lib.versionAtLeast (lib.getVersion cppo) "1.6"
|
|
then cppo
|
|
else
|
|
|
|
buildDunePackage rec {
|
|
pname = "cppo_ocamlbuild";
|
|
|
|
inherit (cppo) version useDune2 src;
|
|
|
|
propagatedBuildInputs = [ ocamlbuild ];
|
|
|
|
meta = cppo.meta // {
|
|
description = "Plugin to use cppo with ocamlbuild";
|
|
};
|
|
}
|