blob: f74ffe3fd795d994507f435fbbf611e1f0ead685 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{
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 ];
};
})
|