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-01-31 13:15:46 +00:00
|
|
|
version = "20210127";
|
2018-11-06 06:56:54 +00:00
|
|
|
|
2020-12-14 04:20:00 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2021-01-31 13:15:46 +00:00
|
|
|
minimumOCamlVersion = "4.07";
|
2020-12-14 04:20:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "fpottier";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
domain = "gitlab.inria.fr";
|
2021-01-31 13:15:46 +00:00
|
|
|
sha256 = "0b73h7d4yv04a0b5x2i222jknbcgf9vvxzfjxzy2jwanxz9d873z";
|
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 02:11:51 +01:00
|
|
|
homepage = "https://gitlab.inria.fr/fpottier/visitors";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|