2020-12-14 04:20:00 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitLab, ppx_tools, ppx_deriving, result, cppo }:
|
2018-11-06 06:56:54 +00:00
|
|
|
|
2020-12-14 04:20:00 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "visitors";
|
|
|
|
version = "20200210";
|
2018-11-06 06:56:54 +00:00
|
|
|
|
2020-12-14 04:20:00 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
|
|
|
minimumOCamlVersion = "4.02.3";
|
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "fpottier";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
domain = "gitlab.inria.fr";
|
|
|
|
sha256 = "12i099h1hc1walabiwqbinnpgcxkc1wn72913v7v6vvyif21rb5a";
|
2018-11-06 06:56:54 +00:00
|
|
|
};
|
|
|
|
|
2020-12-14 04:20:00 +00:00
|
|
|
buildInputs = [ cppo ];
|
2018-11-06 06:56:54 +00:00
|
|
|
|
2020-12-14 04:20:00 +00:00
|
|
|
propagatedBuildInputs = [ ppx_tools 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 ];
|
|
|
|
};
|
|
|
|
}
|