Files
nixpkgs/pkgs/development/ocaml-modules/ppx_gen_rec/default.nix
2026-05-12 13:28:38 -05:00

29 lines
716 B
Nix

{
lib,
fetchurl,
buildDunePackage,
ppxlib,
}:
buildDunePackage (finalAttrs: {
pname = "ppx_gen_rec";
version = "2.0.0";
src = fetchurl {
url = "https://github.com/flowtype/ocaml-ppx_gen_rec/releases/download/v${finalAttrs.version}/ppx_gen_rec-v${finalAttrs.version}.tbz";
sha256 = "sha256-/mMj5UT22KQGVy1sjgEoOgPzyCYyeDPtWJYNDvQ9nlk=";
};
minimalOCamlVersion = "4.07";
duneVersion = "3";
buildInputs = [ ppxlib ];
meta = {
homepage = "https://github.com/flowtype/ocaml-ppx_gen_rec";
description = "Ppx rewriter that transforms a recursive module expression into a struct";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ frontsideair ];
};
})