1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00
nixpkgs/pkgs/development/ocaml-modules/ppx_gen_rec/default.nix
2021-06-06 14:55:09 +02:00

24 lines
672 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=";
};
minimumOCamlVersion = "4.07";
useDune2 = true;
buildInputs = [ ppxlib ];
meta = with lib; {
homepage = "https://github.com/flowtype/ocaml-ppx_gen_rec";
description = "A ppx rewriter that transforms a recursive module expression into a struct.";
license = licenses.mit;
maintainers = with maintainers; [ frontsideair ];
};
}