depot/third_party/nixpkgs/pkgs/development/ocaml-modules/visitors/default.nix
Default email b6d97fd731 Project import generated by Copybara.
GitOrigin-RevId: be0b453d7c7eee2090962c9a83749b024ff9acf5
2020-12-25 14:55:36 +01:00

29 lines
826 B
Nix

{ lib, buildDunePackage, fetchFromGitLab, ppx_tools, ppx_deriving, result, cppo }:
buildDunePackage rec {
pname = "visitors";
version = "20200210";
useDune2 = true;
minimumOCamlVersion = "4.02.3";
src = fetchFromGitLab {
owner = "fpottier";
repo = pname;
rev = version;
domain = "gitlab.inria.fr";
sha256 = "12i099h1hc1walabiwqbinnpgcxkc1wn72913v7v6vvyif21rb5a";
};
buildInputs = [ cppo ];
propagatedBuildInputs = [ ppx_tools ppx_deriving result ];
meta = with lib; {
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 ];
};
}