Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, fetchurl, buildDunePackage, ppxlib }:
2
3buildDunePackage rec {
4 pname = "ppx_gen_rec";
5 version = "2.0.0";
6
7 src = fetchurl {
8 url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
9 sha256 = "sha256-/mMj5UT22KQGVy1sjgEoOgPzyCYyeDPtWJYNDvQ9nlk=";
10 };
11
12 minimalOCamlVersion = "4.07";
13 duneVersion = "3";
14
15 buildInputs = [ ppxlib ];
16
17 meta = with lib; {
18 homepage = "https://github.com/flowtype/ocaml-ppx_gen_rec";
19 description = "A ppx rewriter that transforms a recursive module expression into a struct.";
20 license = licenses.mit;
21 maintainers = with maintainers; [ frontsideair ];
22 };
23}