ocamlPackages.lens: 1.2.3 → 1.2.4

authored by

Vincent Laporte and committed by
Vincent Laporte
2cc958d7 fc748c2e

+9 -8
+9 -8
pkgs/development/ocaml-modules/lens/default.nix
··· 1 - { lib, ocaml, fetchzip, ppx_deriving, ppxfind, buildDunePackage }: 2 - 3 - if lib.versionAtLeast ocaml.version "4.10" 4 - then throw "lens is not available for OCaml ${ocaml.version}" 5 - else 1 + { lib, fetchzip, ppx_deriving, ppxfind, buildDunePackage, ounit }: 6 2 7 3 buildDunePackage rec { 8 4 pname = "lens"; 9 - version = "1.2.3"; 5 + version = "1.2.4"; 6 + 7 + useDune2 = true; 10 8 11 9 src = fetchzip { 12 10 url = "https://github.com/pdonadeo/ocaml-lens/archive/v${version}.tar.gz"; 13 - sha256 = "09k2vhzysx91syjhgv6w1shc9mgzi0l4bhwpx1g5pi4r4ghjp07y"; 11 + sha256 = "18mv7n5rcix3545mc2qa2f9xngks4g4kqj2g878qj7r3cy96kklv"; 14 12 }; 15 13 16 - minimumOCamlVersion = "4.04.1"; 14 + minimumOCamlVersion = "4.10"; 17 15 buildInputs = [ ppx_deriving ppxfind ]; 16 + 17 + doCheck = true; 18 + checkInputs = [ ounit ]; 18 19 19 20 meta = with lib; { 20 21 homepage = "https://github.com/pdonadeo/ocaml-lens";