8f1302995e
ocamlPackages.ppx_deriving_yojson: 3.5.2 → 3.6.1 ocamlPackages.visitors: 20200210 → 20210127 ocamlPackages.pgocaml: disable for OCaml < 4.08 ocamlPackages.nocrypto: disable for OCaml < 4.08 ocamlPackages.lens: mark as broken ocamlPackages.ppx_deriving_protobuf: mark as broken Closes #108137
29 lines
717 B
Nix
29 lines
717 B
Nix
{ lib, fetchzip, ppx_deriving, ppxfind, buildDunePackage, ounit }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "lens";
|
|
version = "1.2.4";
|
|
|
|
useDune2 = true;
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/pdonadeo/ocaml-lens/archive/v${version}.tar.gz";
|
|
sha256 = "18mv7n5rcix3545mc2qa2f9xngks4g4kqj2g878qj7r3cy96kklv";
|
|
};
|
|
|
|
minimumOCamlVersion = "4.10";
|
|
buildInputs = [ ppx_deriving ppxfind ];
|
|
|
|
doCheck = true;
|
|
checkInputs = [ ounit ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/pdonadeo/ocaml-lens";
|
|
description = "Functional lenses";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [
|
|
kazcw
|
|
];
|
|
broken = true; # Not compatible with ppx_deriving ≥ 5.0
|
|
};
|
|
}
|