lol

ocamlPackages.angstrom: use Dune 2

authored by

Vincent Laporte and committed by
Vincent Laporte
9e66b4e8 38a91dff

+6 -4
+1 -1
pkgs/development/ocaml-modules/angstrom-async/default.nix
··· 3 3 buildDunePackage rec { 4 4 pname = "angstrom-async"; 5 5 6 - inherit (angstrom) version src; 6 + inherit (angstrom) version useDune2 src; 7 7 8 8 minimumOCamlVersion = "4.04.1"; 9 9
+1 -1
pkgs/development/ocaml-modules/angstrom-lwt-unix/default.nix
··· 3 3 buildDunePackage rec { 4 4 pname = "angstrom-lwt-unix"; 5 5 6 - inherit (angstrom) version src; 6 + inherit (angstrom) version useDune2 src; 7 7 8 8 minimumOCamlVersion = "4.03"; 9 9
+1 -1
pkgs/development/ocaml-modules/angstrom-unix/default.nix
··· 3 3 buildDunePackage rec { 4 4 pname = "angstrom-unix"; 5 5 6 - inherit (angstrom) version src; 6 + inherit (angstrom) version useDune2 src; 7 7 8 8 minimumOCamlVersion = "4.03"; 9 9
+3 -1
pkgs/development/ocaml-modules/angstrom/default.nix
··· 1 - { lib, fetchFromGitHub, buildDunePackage, ocaml, alcotest, result, bigstringaf, ppx_let }: 1 + { lib, fetchFromGitHub, buildDunePackage, ocaml, ocaml-syntax-shims, alcotest, result, bigstringaf, ppx_let }: 2 2 3 3 buildDunePackage rec { 4 4 pname = "angstrom"; 5 5 version = "0.15.0"; 6 + useDune2 = true; 6 7 7 8 minimumOCamlVersion = "4.04"; 8 9 ··· 14 15 }; 15 16 16 17 checkInputs = [ alcotest ppx_let ]; 18 + buildInputs = [ ocaml-syntax-shims ]; 17 19 propagatedBuildInputs = [ bigstringaf result ]; 18 20 doCheck = lib.versionAtLeast ocaml.version "4.05"; 19 21