1{ lib, buildDunePackage, fetchFromGitLab, ppxlib, ppx_deriving, result }:
2
3buildDunePackage rec {
4 pname = "visitors";
5 version = "20210608";
6
7 duneVersion = "3";
8
9 minimalOCamlVersion = "4.08";
10
11 src = fetchFromGitLab {
12 owner = "fpottier";
13 repo = pname;
14 rev = version;
15 domain = "gitlab.inria.fr";
16 sha256 = "1p75x5yqwbwv8yb2gz15rfl3znipy59r45d1f4vcjdghhjws6q2a";
17 };
18
19 propagatedBuildInputs = [ ppxlib ppx_deriving result ];
20
21 meta = with lib; {
22 homepage = "https://gitlab.inria.fr/fpottier/visitors";
23 changelog = "https://gitlab.inria.fr/fpottier/visitors/-/raw/${version}/CHANGES.md";
24 license = licenses.lgpl21;
25 description = "An OCaml syntax extension (technically, a ppx_deriving plugin) which generates object-oriented visitors for traversing and transforming data structures";
26 maintainers = [ maintainers.marsam ];
27 };
28}