mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
29 lines
854 B
Nix
29 lines
854 B
Nix
{ lib, buildDunePackage, fetchFromGitLab, ppxlib, ppx_deriving, result }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "visitors";
|
|
version = "20210608";
|
|
|
|
duneVersion = "3";
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "fpottier";
|
|
repo = pname;
|
|
rev = version;
|
|
domain = "gitlab.inria.fr";
|
|
sha256 = "1p75x5yqwbwv8yb2gz15rfl3znipy59r45d1f4vcjdghhjws6q2a";
|
|
};
|
|
|
|
propagatedBuildInputs = [ ppxlib ppx_deriving result ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://gitlab.inria.fr/fpottier/visitors";
|
|
changelog = "https://gitlab.inria.fr/fpottier/visitors/-/raw/${version}/CHANGES.md";
|
|
license = licenses.lgpl21;
|
|
description = "OCaml syntax extension (technically, a ppx_deriving plugin) which generates object-oriented visitors for traversing and transforming data structures";
|
|
maintainers = [ ];
|
|
};
|
|
}
|