depot/pkgs/development/ocaml-modules/ppx_gen_rec/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

23 lines
671 B
Nix

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