Merge pull request #225681 from vbgl/ocaml-alcotest-1.7.0
ocamlPackages.alcotest: 1.6.0 → 1.7.0
This commit is contained in:
commit
c70dabd946
31 changed files with 56 additions and 30 deletions
|
@ -4,11 +4,13 @@
|
|||
|
||||
buildDunePackage rec {
|
||||
pname = "alcotest";
|
||||
version = "1.6.0";
|
||||
version = "1.7.0";
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/alcotest/releases/download/${version}/alcotest-${version}.tbz";
|
||||
sha256 = "sha256-/QD5ZoOVh0/zsdfvVm0U78Avp900Ej6yXVk1W+lLIyk=";
|
||||
hash = "sha256-gSus2zS0XoiZXgfXMGvasvckee8ZlmN/HV0fQWZ5At8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ ocaml-syntax-shims ];
|
||||
|
|
|
@ -7,6 +7,8 @@ buildDunePackage {
|
|||
|
||||
inherit (alcotest) version src;
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [ alcotest logs lwt fmt ];
|
||||
|
||||
doCheck = true;
|
||||
|
|
|
@ -3,9 +3,10 @@
|
|||
buildDunePackage rec {
|
||||
pname = "angstrom-async";
|
||||
|
||||
inherit (angstrom) version useDune2 src;
|
||||
inherit (angstrom) version src;
|
||||
|
||||
minimumOCamlVersion = "4.04.1";
|
||||
duneVersion = "3";
|
||||
minimalOCamlVersion = "4.04.1";
|
||||
|
||||
propagatedBuildInputs = [ angstrom async ];
|
||||
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
{ lib, fetchFromGitHub, buildDunePackage, angstrom, ocaml_lwt }:
|
||||
{ lib, fetchFromGitHub, buildDunePackage, angstrom, lwt }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "angstrom-lwt-unix";
|
||||
|
||||
inherit (angstrom) version useDune2 src;
|
||||
inherit (angstrom) version src;
|
||||
|
||||
minimumOCamlVersion = "4.03";
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [ angstrom ocaml_lwt ];
|
||||
propagatedBuildInputs = [ angstrom lwt ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
buildDunePackage rec {
|
||||
pname = "angstrom-unix";
|
||||
|
||||
inherit (angstrom) version useDune2 src;
|
||||
inherit (angstrom) version src;
|
||||
|
||||
minimumOCamlVersion = "4.03";
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [ angstrom ];
|
||||
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
buildDunePackage rec {
|
||||
pname = "angstrom";
|
||||
version = "0.15.0";
|
||||
useDune2 = true;
|
||||
duneVersion = "3";
|
||||
|
||||
minimumOCamlVersion = "4.04";
|
||||
minimalOCamlVersion = "4.04";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "inhabitedtype";
|
||||
|
|
|
@ -5,12 +5,13 @@ buildDunePackage rec {
|
|||
version = "0.9.0";
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "inhabitedtype";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-HXPjnE56auy2MI6HV2XuBX/VeqsO50HFzTul17lKEqE=";
|
||||
hash = "sha256-HXPjnE56auy2MI6HV2XuBX/VeqsO50HFzTul17lKEqE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
|
|
@ -4,7 +4,7 @@ buildDunePackage rec {
|
|||
pname = "dispatch";
|
||||
version = "0.5.0";
|
||||
|
||||
useDune2 = true;
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "inhabitedtype";
|
||||
|
|
|
@ -12,6 +12,7 @@ buildDunePackage rec {
|
|||
};
|
||||
|
||||
minimalOCamlVersion = "4.04";
|
||||
duneVersion = "3";
|
||||
|
||||
checkInputs = [ alcotest ];
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{ lib
|
||||
, fetchurl
|
||||
, buildDunePackage
|
||||
, ocaml
|
||||
, fmt
|
||||
, alcotest
|
||||
, hxd
|
||||
|
@ -13,6 +12,9 @@ buildDunePackage rec {
|
|||
pname = "duff";
|
||||
version = "0.5";
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/duff/releases/download/v${version}/duff-${version}.tbz";
|
||||
sha256 = "sha256-0eqpfPWNOHYjkcjXRnZUTUFF0/L9E+TNoOqKCETN5hI=";
|
||||
|
@ -20,7 +22,7 @@ buildDunePackage rec {
|
|||
|
||||
propagatedBuildInputs = [ fmt ];
|
||||
|
||||
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||
doCheck = true;
|
||||
checkInputs = [
|
||||
alcotest
|
||||
crowbar
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{ lib
|
||||
, buildDunePackage
|
||||
, fetchurl
|
||||
, ocaml
|
||||
, fmt
|
||||
, bigstringaf
|
||||
, angstrom
|
||||
|
@ -12,14 +11,14 @@ buildDunePackage rec {
|
|||
pname = "encore";
|
||||
version = "0.8";
|
||||
|
||||
minimumOCamlVersion = "4.07";
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/encore/releases/download/v${version}/encore-v${version}.tbz";
|
||||
sha256 = "a406bc9863b04bb424692045939d6c170a2bb65a98521ae5608d25b0559344f6";
|
||||
};
|
||||
|
||||
useDune2 = true;
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [ angstrom fmt bigstringaf ];
|
||||
checkInputs = [ alcotest ];
|
||||
|
|
|
@ -5,6 +5,7 @@ buildDunePackage rec {
|
|||
inherit (faraday) version src;
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [ faraday core_unix async ];
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@ buildDunePackage rec {
|
|||
version = "0.8.2";
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "inhabitedtype";
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
buildDunePackage rec {
|
||||
pname = "faraday-lwt-unix";
|
||||
inherit (faraday) version src;
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [ lwt faraday-lwt ];
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@ buildDunePackage rec {
|
|||
inherit (faraday) version src;
|
||||
|
||||
propagatedBuildInputs = [ faraday lwt ];
|
||||
duneVersion = "3";
|
||||
|
||||
meta = faraday.meta // {
|
||||
description = "Lwt support for Faraday";
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
buildDunePackage rec {
|
||||
pname = "ff";
|
||||
inherit (ff-sig) version src;
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
ff-sig
|
||||
|
|
|
@ -5,6 +5,7 @@ buildDunePackage {
|
|||
inherit (ff-sig) version src;
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
duneVersion = "3";
|
||||
|
||||
checkInputs = [
|
||||
alcotest
|
||||
|
|
|
@ -10,6 +10,8 @@ buildDunePackage rec {
|
|||
sha256 = "sha256-IoUH4awMOa1pm/t8E5io87R0TZsAxJjGWaXhXjn/w+Y=";
|
||||
};
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
zarith
|
||||
];
|
||||
|
|
|
@ -4,14 +4,14 @@ buildDunePackage rec {
|
|||
pname = "gmap";
|
||||
version = "0.3.0";
|
||||
|
||||
useDune2 = true;
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/hannesm/gmap/releases/download/${version}/gmap-${version}.tbz";
|
||||
sha256 = "073wa0lrb0jj706j87cwzf1a8d1ff14100mnrjs8z3xc4ri9xp84";
|
||||
};
|
||||
|
||||
minimumOCamlVersion = "4.03";
|
||||
minimalOCamlVersion = "4.03";
|
||||
|
||||
checkInputs = [ alcotest fmt ];
|
||||
|
||||
|
|
|
@ -871,6 +871,7 @@ with self;
|
|||
|
||||
vcaml = janePackage {
|
||||
pname = "vcaml";
|
||||
duneVersion = "3";
|
||||
hash = "0ykwrn8bvwx26ad4wb36jw9xnlwsdpnnx88396laxvcfimrp13qs";
|
||||
meta.description = "OCaml bindings for the Neovim API";
|
||||
propagatedBuildInputs = [ angstrom-async async_extra faraday ];
|
||||
|
|
|
@ -451,6 +451,7 @@ with self;
|
|||
|
||||
jsonaf = janePackage {
|
||||
pname = "jsonaf";
|
||||
duneVersion = "3";
|
||||
hash = "1j9rn8vsvfpgmdpmdqb5qhvss5171j8n3ii1bcgnavqinchbvqa6";
|
||||
meta.description = "A library for parsing, manipulating, and serializing data structured as JSON";
|
||||
propagatedBuildInputs = [ base ppx_jane angstrom faraday ];
|
||||
|
@ -690,6 +691,7 @@ with self;
|
|||
|
||||
ppx_jsonaf_conv = janePackage {
|
||||
pname = "ppx_jsonaf_conv";
|
||||
duneVersion = "3";
|
||||
version = "0.15.1";
|
||||
hash = "0wprs7qmscklyskj4famhaqqisi6jypy414aqba14qdyi43w0cv3";
|
||||
minimumOCamlVersion = "4.08";
|
||||
|
@ -898,6 +900,7 @@ with self;
|
|||
|
||||
sexp = janePackage {
|
||||
pname = "sexp";
|
||||
duneVersion = "3";
|
||||
hash = "00xlsymm1mpgs8cqkb6c36vh5hfw0saghvwiqh7jry65qc5nvv9z";
|
||||
propagatedBuildInputs = [
|
||||
async
|
||||
|
@ -1062,6 +1065,7 @@ with self;
|
|||
};
|
||||
|
||||
vcaml = janePackage {
|
||||
duneVersion = "3";
|
||||
pname = "vcaml";
|
||||
hash = "12fd29x9dgf4f14xrx7z4y1bm1wbfynrs3jismjbiqnckfpbqrib";
|
||||
meta.description = "OCaml bindings for the Neovim API";
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
buildDunePackage ({
|
||||
pname = "junit_alcotest";
|
||||
|
||||
inherit (junit) src version meta useDune2;
|
||||
inherit (junit) src version meta;
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
junit
|
||||
|
|
|
@ -14,7 +14,7 @@ buildDunePackage (rec {
|
|||
tyxml
|
||||
];
|
||||
|
||||
useDune2 = true;
|
||||
duneVersion = "3";
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
buildDunePackage ({
|
||||
pname = "junit_ounit";
|
||||
|
||||
inherit (junit) src version meta useDune2;
|
||||
inherit (junit) src version meta;
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
junit
|
||||
|
|
|
@ -18,6 +18,7 @@ buildDunePackage rec {
|
|||
doCheck = true;
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
duneVersion = "3";
|
||||
|
||||
meta = {
|
||||
description = "Fast implementation of queue in OCaml";
|
||||
|
|
|
@ -4,9 +4,9 @@ buildDunePackage rec {
|
|||
pname = "pecu";
|
||||
version = "0.6";
|
||||
|
||||
useDune2 = true;
|
||||
duneVersion = "3";
|
||||
|
||||
minimumOCamlVersion = "4.03";
|
||||
minimalOCamlVersion = "4.03";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/pecu/releases/download/v${version}/pecu-v${version}.tbz";
|
||||
|
|
|
@ -4,7 +4,7 @@ buildDunePackage rec {
|
|||
pname = "ppx_blob";
|
||||
version = "0.7.2";
|
||||
|
||||
useDune2 = true;
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/johnwhitington/${pname}/releases/download/${version}/ppx_blob-${version}.tbz";
|
||||
|
|
|
@ -14,6 +14,7 @@ buildDunePackage rec {
|
|||
version = "0.6.1";
|
||||
|
||||
minimalOCamlVersion = "4.11";
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hammerlab";
|
||||
|
|
|
@ -8,11 +8,11 @@ buildDunePackage rec {
|
|||
version = "0.2.1";
|
||||
|
||||
minimalOCamlVersion = "4.03";
|
||||
useDune2 = true;
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/CraigFe/progress/releases/download/${version}/terminal-${version}.tbz";
|
||||
sha256 = "sha256:0vjqkvmpyi8kvmb4vrx3f0994rph8i9pvlrz1dyi126vlb2zbrvs";
|
||||
hash = "sha256:0vjqkvmpyi8kvmb4vrx3f0994rph8i9pvlrz1dyi126vlb2zbrvs";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ stdlib-shims uutf uucp ];
|
||||
|
|
|
@ -21,7 +21,7 @@ buildDunePackage rec {
|
|||
sha256 = "0mjm4v7kk75iwwsfnpmxc3bsl8aisz53y7z21sykdp60f4rxnah7";
|
||||
};
|
||||
|
||||
useDune2 = true;
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
angstrom
|
||||
|
|
|
@ -13,6 +13,7 @@ buildDunePackage rec {
|
|||
version = "0.3.0";
|
||||
|
||||
minimalOCamlVersion = "4.03";
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/mirage/yuscii/releases/download/v${version}/yuscii-v${version}.tbz";
|
||||
|
|
Loading…
Reference in a new issue