2021-01-31 14:15:46 +01:00
|
|
|
{ lib, buildDunePackage, fetchFromGitLab, ppxlib, ppx_deriving, result }:
|
2018-11-06 07:56:54 +01:00
|
|
|
|
2020-12-14 05:20:00 +01:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "visitors";
|
2021-03-23 20:43:19 +01:00
|
|
|
version = "20210316";
|
2018-11-06 07:56:54 +01:00
|
|
|
|
2020-12-14 05:20:00 +01:00
|
|
|
useDune2 = true;
|
|
|
|
|
2021-03-23 20:43:19 +01:00
|
|
|
minimumOCamlVersion = "4.08";
|
2020-12-14 05:20:00 +01:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "fpottier";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
domain = "gitlab.inria.fr";
|
2021-03-23 20:43:19 +01:00
|
|
|
sha256 = "12d45ncy3g9mpcs6n58aq6yzs5qz662msgcr7ccms9jhiq44m8f7";
|
2018-11-06 07:56:54 +01:00
|
|
|
};
|
|
|
|
|
2021-01-31 14:15:46 +01:00
|
|
|
propagatedBuildInputs = [ ppxlib ppx_deriving result ];
|
2018-11-06 07:56:54 +01:00
|
|
|
|
2020-12-14 05:20:00 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://gitlab.inria.fr/fpottier/visitors";
|
2018-11-06 07:56:54 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|