nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 43 lines 1.1 kB view raw
1{ 2 lib, 3 buildDunePackage, 4 fetchFromGitLab, 5 ppxlib, 6 ppx_deriving, 7 result, 8 version ? if lib.versionAtLeast ppxlib.version "0.36" then "20251010" else "20250212", 9}: 10 11buildDunePackage { 12 pname = "visitors"; 13 inherit version; 14 15 minimalOCamlVersion = "4.08"; 16 17 src = fetchFromGitLab { 18 owner = "fpottier"; 19 repo = "visitors"; 20 tag = version; 21 domain = "gitlab.inria.fr"; 22 hash = 23 { 24 "20250212" = "sha256-AFD4+vriwVGt6lzDyIDuIMadakcgB4j235yty5qqFgQ="; 25 "20251010" = "sha256-3CHXECMHf/UWtLvy7fiOaxx6EizRRtm9HpqRxcRjH3I="; 26 } 27 ."${version}"; 28 }; 29 30 propagatedBuildInputs = [ 31 ppxlib 32 ppx_deriving 33 result 34 ]; 35 36 meta = { 37 homepage = "https://gitlab.inria.fr/fpottier/visitors"; 38 changelog = "https://gitlab.inria.fr/fpottier/visitors/-/raw/${version}/CHANGES.md"; 39 license = lib.licenses.lgpl21; 40 description = "OCaml syntax extension (technically, a ppx_deriving plugin) which generates object-oriented visitors for traversing and transforming data structures"; 41 maintainers = [ ]; 42 }; 43}