ocamlPackages.ppx_gen_rec: 1.1.0 -> 2.0.0

This commit is contained in:
superherointj 2021-06-06 05:35:05 -03:00 committed by Vincent Laporte
parent 235f98a343
commit 690496c4e5

View file

@ -1,22 +1,23 @@
{ lib, fetchurl, buildDunePackage, ocaml-migrate-parsetree }:
{ lib, fetchurl, buildDunePackage, ppxlib }:
buildDunePackage rec {
pname = "ppx_gen_rec";
version = "1.1.0";
useDune2 = true;
version = "2.0.0";
src = fetchurl {
url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
sha256 = "0fwi4bknq8h9zgpsarjvnzdm9bm8qlyyw0lz30pihg02aiiljqbh";
sha256 = "sha256-/mMj5UT22KQGVy1sjgEoOgPzyCYyeDPtWJYNDvQ9nlk=";
};
buildInputs = [ ocaml-migrate-parsetree ];
minimumOCamlVersion = "4.07";
useDune2 = true;
buildInputs = [ ppxlib ];
meta = with lib; {
homepage = "https://github.com/flowtype/ocaml-ppx_gen_rec";
description = "ocaml preprocessor that generates a recursive module";
description = "A ppx rewriter that transforms a recursive module expression into a struct.";
license = licenses.mit;
maintainers = [ maintainers.frontsideair ];
maintainers = with maintainers; [ frontsideair ];
};
}