ocamlPackages.angstrom: use Dune 2
This commit is contained in:
parent
38a91dff4d
commit
9e66b4e873
|
@ -3,7 +3,7 @@
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "angstrom-async";
|
pname = "angstrom-async";
|
||||||
|
|
||||||
inherit (angstrom) version src;
|
inherit (angstrom) version useDune2 src;
|
||||||
|
|
||||||
minimumOCamlVersion = "4.04.1";
|
minimumOCamlVersion = "4.04.1";
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "angstrom-lwt-unix";
|
pname = "angstrom-lwt-unix";
|
||||||
|
|
||||||
inherit (angstrom) version src;
|
inherit (angstrom) version useDune2 src;
|
||||||
|
|
||||||
minimumOCamlVersion = "4.03";
|
minimumOCamlVersion = "4.03";
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "angstrom-unix";
|
pname = "angstrom-unix";
|
||||||
|
|
||||||
inherit (angstrom) version src;
|
inherit (angstrom) version useDune2 src;
|
||||||
|
|
||||||
minimumOCamlVersion = "4.03";
|
minimumOCamlVersion = "4.03";
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
{ lib, fetchFromGitHub, buildDunePackage, ocaml, alcotest, result, bigstringaf, ppx_let }:
|
{ lib, fetchFromGitHub, buildDunePackage, ocaml, ocaml-syntax-shims, alcotest, result, bigstringaf, ppx_let }:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "angstrom";
|
pname = "angstrom";
|
||||||
version = "0.15.0";
|
version = "0.15.0";
|
||||||
|
useDune2 = true;
|
||||||
|
|
||||||
minimumOCamlVersion = "4.04";
|
minimumOCamlVersion = "4.04";
|
||||||
|
|
||||||
|
@ -14,6 +15,7 @@ buildDunePackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ alcotest ppx_let ];
|
checkInputs = [ alcotest ppx_let ];
|
||||||
|
buildInputs = [ ocaml-syntax-shims ];
|
||||||
propagatedBuildInputs = [ bigstringaf result ];
|
propagatedBuildInputs = [ bigstringaf result ];
|
||||||
doCheck = lib.versionAtLeast ocaml.version "4.05";
|
doCheck = lib.versionAtLeast ocaml.version "4.05";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue