Merge staging-next into staging

This commit is contained in:
github-actions[bot]
2020-12-05 18:14:25 +00:00
committed by GitHub
37 changed files with 1011 additions and 246 deletions
@@ -1,9 +1,13 @@
{ lib, fetchFromGitHub, buildDunePackage, ocaml, mdx, qtest, result }:
{ lib, fetchFromGitHub, buildDunePackage, ocaml, dune-configurator
, mdx, qtest, result
}:
buildDunePackage rec {
pname = "iter";
version = "1.2.1";
useDune2 = true;
src = fetchFromGitHub {
owner = "c-cube";
repo = pname;
@@ -11,10 +15,11 @@ buildDunePackage rec {
sha256 = "0j2sg50byn0ppmf6l36ksip7zx1d3gv7sc4hbbxs2rmx39jr7vxh";
};
buildInputs = lib.optionals doCheck [ mdx.bin qtest ];
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ result ];
doCheck = lib.versionAtLeast ocaml.version "4.07";
checkInputs = [ mdx.bin qtest ];
meta = {
homepage = "https://github.com/c-cube/sequence";
@@ -3,7 +3,7 @@
buildDunePackage {
pname = "qcheck-alcotest";
inherit (qcheck-core) version src;
inherit (qcheck-core) version useDune2 src;
propagatedBuildInputs = [ qcheck-core alcotest ];
@@ -2,7 +2,9 @@
buildDunePackage rec {
pname = "qcheck-core";
version = "0.15";
version = "0.16";
useDune2 = true;
minimumOCamlVersion = "4.03";
@@ -10,7 +12,7 @@ buildDunePackage rec {
owner = "c-cube";
repo = "qcheck";
rev = version;
sha256 = "1ywaklqm1agvxvzv7pwl8v4zlwc3ykw6l251w43f0gy9cfwqmh3j";
sha256 = "1s5dpqj8zvd3wr2w3fp4wb6yc57snjpxzzfv9fb6l9qgigswwjdr";
};
meta = {
@@ -3,7 +3,7 @@
buildDunePackage {
pname = "qcheck";
inherit (qcheck-ounit) version src;
inherit (qcheck-ounit) version useDune2 src;
propagatedBuildInputs = [ qcheck-ounit ];
@@ -3,7 +3,7 @@
buildDunePackage {
pname = "qcheck-ounit";
inherit (qcheck-core) version src;
inherit (qcheck-core) version useDune2 src;
propagatedBuildInputs = [ qcheck-core ounit ];
@@ -4,6 +4,8 @@ buildDunePackage rec {
pname = "qtest";
version = "2.11.1";
useDune2 = true;
src = fetchFromGitHub {
owner = "vincent-hugot";
repo = pname;
@@ -2,6 +2,7 @@
, js_of_ocaml-ppx, re }:
if stdenv.lib.versionOlder ocaml.version "4.03"
|| stdenv.lib.versionAtLeast ocaml.version "4.11"
then throw "xtmpl not supported for ocaml ${ocaml.version}"
else
stdenv.mkDerivation rec {