Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchFromGitLab, 5 ppxlib, 6 ppx_deriving, 7 result, 8}: 9 10buildDunePackage rec { 11 pname = "visitors"; 12 version = "20250212"; 13 14 duneVersion = "3"; 15 16 minimalOCamlVersion = "4.08"; 17 18 src = fetchFromGitLab { 19 owner = "fpottier"; 20 repo = pname; 21 rev = version; 22 domain = "gitlab.inria.fr"; 23 sha256 = "sha256-AFD4+vriwVGt6lzDyIDuIMadakcgB4j235yty5qqFgQ="; 24 }; 25 26 propagatedBuildInputs = [ 27 ppxlib 28 ppx_deriving 29 result 30 ]; 31 32 meta = with lib; { 33 homepage = "https://gitlab.inria.fr/fpottier/visitors"; 34 changelog = "https://gitlab.inria.fr/fpottier/visitors/-/raw/${version}/CHANGES.md"; 35 license = licenses.lgpl21; 36 description = "OCaml syntax extension (technically, a ppx_deriving plugin) which generates object-oriented visitors for traversing and transforming data structures"; 37 maintainers = [ ]; 38 }; 39}