2021-01-31 13:15:46 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitLab, ppxlib, ppx_deriving, result }:
|
2018-11-06 06:56:54 +00:00
|
|
|
|
2020-12-14 04:20:00 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "visitors";
|
2021-09-05 00:12:45 +00:00
|
|
|
version = "20210608";
|
2018-11-06 06:56:54 +00:00
|
|
|
|
2020-12-14 04:20:00 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2021-03-23 19:43:19 +00:00
|
|
|
minimumOCamlVersion = "4.08";
|
2020-12-14 04:20:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "fpottier";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
domain = "gitlab.inria.fr";
|
2021-09-05 00:12:45 +00:00
|
|
|
sha256 = "1p75x5yqwbwv8yb2gz15rfl3znipy59r45d1f4vcjdghhjws6q2a";
|
2018-11-06 06:56:54 +00:00
|
|
|
};
|
|
|
|
|
2021-01-31 13:15:46 +00:00
|
|
|
propagatedBuildInputs = [ ppxlib ppx_deriving result ];
|
2018-11-06 06:56:54 +00:00
|
|
|
|
2020-12-14 04:20:00 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://gitlab.inria.fr/fpottier/visitors";
|
2021-09-05 00:12:45 +00:00
|
|
|
changelog = "https://gitlab.inria.fr/fpottier/visitors/-/raw/${version}/CHANGES.md";
|
2018-11-06 06:56:54 +00:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
description = "An OCaml syntax extension (technically, a ppx_deriving plugin) which generates object-oriented visitors for traversing and transforming data structures";
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
|
|
|
}
|