2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitLab, ppxlib, ppx_deriving, result }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-12-25 13:55:36 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "visitors";
|
2021-03-20 04:20:00 +00:00
|
|
|
version = "20210316";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-12-25 13:55:36 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2021-03-20 04:20:00 +00:00
|
|
|
minimumOCamlVersion = "4.08";
|
2020-12-25 13:55:36 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "fpottier";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
domain = "gitlab.inria.fr";
|
2021-03-20 04:20:00 +00:00
|
|
|
sha256 = "12d45ncy3g9mpcs6n58aq6yzs5qz662msgcr7ccms9jhiq44m8f7";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
propagatedBuildInputs = [ ppxlib ppx_deriving result ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-12-25 13:55:36 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://gitlab.inria.fr/fpottier/visitors";
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|