ocamlPackages.fmt: 0.8.9 → 0.9.0
This commit is contained in:
parent
30942c90cb
commit
0f4f35c7b0
32 changed files with 60 additions and 56 deletions
|
@ -17,7 +17,7 @@ buildDunePackage rec {
|
||||||
checkInputs = [ alcotest ppx_let ];
|
checkInputs = [ alcotest ppx_let ];
|
||||||
buildInputs = [ ocaml-syntax-shims ];
|
buildInputs = [ ocaml-syntax-shims ];
|
||||||
propagatedBuildInputs = [ bigstringaf result ];
|
propagatedBuildInputs = [ bigstringaf result ];
|
||||||
doCheck = lib.versionAtLeast ocaml.version "4.05";
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/inhabitedtype/angstrom";
|
homepage = "https://github.com/inhabitedtype/angstrom";
|
||||||
|
|
|
@ -14,7 +14,7 @@ buildDunePackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
# otherwise fmt breaks evaluation
|
# otherwise fmt breaks evaluation
|
||||||
doCheck = lib.versionAtLeast ocaml.version "4.05";
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
checkInputs = [ alcotest bos rresult ];
|
checkInputs = [ alcotest bos rresult ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, buildDunePackage, fetchurl
|
{ lib, buildDunePackage, ocaml, fetchurl
|
||||||
, bigarray-compat, alcotest, astring, fpath, bos, findlib, pkg-config
|
, bigarray-compat, alcotest, astring, fpath, bos, findlib, pkg-config
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ buildDunePackage rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ findlib pkg-config ];
|
nativeBuildInputs = [ findlib pkg-config ];
|
||||||
checkInputs = [ alcotest astring fpath bos ];
|
checkInputs = [ alcotest astring fpath bos ];
|
||||||
doCheck = true;
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/dinosaure/overlap";
|
homepage = "https://github.com/dinosaure/overlap";
|
||||||
|
|
|
@ -21,7 +21,7 @@ buildDunePackage rec {
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
checkInputs = [ alcotest ];
|
checkInputs = [ alcotest ];
|
||||||
propagatedBuildInputs = [ bigarray-compat ];
|
propagatedBuildInputs = [ bigarray-compat ];
|
||||||
doCheck = lib.versionAtLeast ocaml.version "4.05";
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Bigstring intrinsics and fast blits based on memcpy/memmove";
|
description = "Bigstring intrinsics and fast blits based on memcpy/memmove";
|
||||||
|
|
|
@ -23,8 +23,8 @@ buildDunePackage rec {
|
||||||
|
|
||||||
propagatedBuildInputs = [ fmt eqaf ];
|
propagatedBuildInputs = [ fmt eqaf ];
|
||||||
|
|
||||||
# alcotest isn't available for OCaml < 4.05 due to fmt
|
# alcotest isn't available for OCaml < 4.08 due to fmt
|
||||||
doCheck = lib.versionAtLeast ocaml.version "4.05";
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
checkInputs = [ alcotest ];
|
checkInputs = [ alcotest ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, fetchFromGitHub, buildDunePackage
|
{ lib, fetchFromGitHub, buildDunePackage, ocaml
|
||||||
, cppo, logs, ptime, uri, bigstringaf
|
, cppo, logs, ptime, uri, bigstringaf
|
||||||
, re, cmdliner, alcotest }:
|
, re, cmdliner, alcotest }:
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ buildDunePackage rec {
|
||||||
propagatedBuildInputs = [ logs ptime uri bigstringaf ];
|
propagatedBuildInputs = [ logs ptime uri bigstringaf ];
|
||||||
checkInputs = [ re cmdliner alcotest ];
|
checkInputs = [ re cmdliner alcotest ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Unified interface to relational database libraries";
|
description = "Unified interface to relational database libraries";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, fetchurl, buildDunePackage, dune-configurator, pkg-config
|
{ lib, fetchurl, buildDunePackage, ocaml, dune-configurator, pkg-config
|
||||||
, bigarray-compat, optint
|
, bigarray-compat, optint
|
||||||
, fmt, rresult, bos, fpath, astring, alcotest
|
, fmt, rresult, bos, fpath, astring, alcotest
|
||||||
, withFreestanding ? false
|
, withFreestanding ? false
|
||||||
|
@ -36,7 +36,7 @@ buildDunePackage rec {
|
||||||
rresult
|
rresult
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "ADLER-32 and CRC32C Cyclic Redundancy Check";
|
description = "ADLER-32 and CRC32C Cyclic Redundancy Check";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, fetchurl, buildDunePackage, alcotest
|
{ lib, fetchurl, buildDunePackage, ocaml, alcotest
|
||||||
, uri, xmlm, omd, ezjsonm }:
|
, uri, xmlm, omd, ezjsonm }:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
|
@ -15,7 +15,7 @@ buildDunePackage rec {
|
||||||
|
|
||||||
propagatedBuildInputs = [ xmlm uri ezjsonm omd ];
|
propagatedBuildInputs = [ xmlm uri ezjsonm omd ];
|
||||||
checkInputs = [ alcotest ];
|
checkInputs = [ alcotest ];
|
||||||
doCheck = true;
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Caml on the Web";
|
description = "Caml on the Web";
|
||||||
|
|
|
@ -15,8 +15,8 @@ buildDunePackage rec {
|
||||||
|
|
||||||
propagatedBuildInputs = [ bigarray-compat ];
|
propagatedBuildInputs = [ bigarray-compat ];
|
||||||
|
|
||||||
# alcotest isn't available for OCaml < 4.05 due to fmt
|
# alcotest isn't available for OCaml < 4.08 due to fmt
|
||||||
doCheck = lib.versionAtLeast ocaml.version "4.05";
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
checkInputs = [ alcotest ];
|
checkInputs = [ alcotest ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
|
@ -10,8 +10,8 @@ buildDunePackage rec {
|
||||||
|
|
||||||
minimumOCamlVersion = "4.03";
|
minimumOCamlVersion = "4.03";
|
||||||
|
|
||||||
# alcotest is only available on OCaml >= 4.05 due to fmt
|
# alcotest is only available on OCaml >= 4.08 due to fmt
|
||||||
doCheck = lib.versionAtLeast ocaml.version "4.05";
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
checkInputs = [ alcotest ];
|
checkInputs = [ alcotest ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ cstruct sexplib ];
|
propagatedBuildInputs = [ cstruct sexplib ];
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, fetchurl, buildDunePackage
|
{ lib, fetchurl, buildDunePackage, ocaml
|
||||||
, checkseum, bigarray-compat, optint, cmdliner
|
, checkseum, bigarray-compat, optint, cmdliner
|
||||||
, bigstringaf, alcotest, camlzip, base64, ctypes, fmt
|
, bigstringaf, alcotest, camlzip, base64, ctypes, fmt
|
||||||
}:
|
}:
|
||||||
|
@ -19,7 +19,7 @@ buildDunePackage rec {
|
||||||
buildInputs = [ cmdliner ];
|
buildInputs = [ cmdliner ];
|
||||||
propagatedBuildInputs = [ optint bigarray-compat checkseum ];
|
propagatedBuildInputs = [ optint bigarray-compat checkseum ];
|
||||||
checkInputs = [ alcotest bigstringaf ctypes fmt camlzip base64 ];
|
checkInputs = [ alcotest bigstringaf ctypes fmt camlzip base64 ];
|
||||||
doCheck = true;
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Pure OCaml implementation of Zlib";
|
description = "Pure OCaml implementation of Zlib";
|
||||||
|
|
|
@ -17,7 +17,7 @@ buildDunePackage rec {
|
||||||
|
|
||||||
checkInputs = [ alcotest ];
|
checkInputs = [ alcotest ];
|
||||||
|
|
||||||
doCheck = lib.versionAtLeast ocaml.version "4.05";
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
inherit (src.meta) homepage;
|
inherit (src.meta) homepage;
|
||||||
|
|
|
@ -15,7 +15,7 @@ buildDunePackage rec {
|
||||||
|
|
||||||
checkInputs = [ alcotest ];
|
checkInputs = [ alcotest ];
|
||||||
|
|
||||||
doCheck = lib.versionAtLeast ocaml.version "4.05";
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/hannesm/domain-name";
|
homepage = "https://github.com/hannesm/domain-name";
|
||||||
|
|
|
@ -11,7 +11,7 @@ buildDunePackage rec {
|
||||||
sha256 = "sha256-rRT7daWm9z//fvFyEXiSXuVVzw8jsj46sykYS8DBzmk=";
|
sha256 = "sha256-rRT7daWm9z//fvFyEXiSXuVVzw8jsj46sykYS8DBzmk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = lib.versionAtLeast ocaml.version "4.05";
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
checkInputs = [ alcotest ];
|
checkInputs = [ alcotest ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
|
@ -25,9 +25,9 @@ buildDunePackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
# technically emile is available for ocaml >= 4.03, but alcotest
|
# technically emile is available for ocaml >= 4.03, but alcotest
|
||||||
# and angstrom (fmt) are only available for >= 4.05. Disabling
|
# and angstrom (fmt) are only available for >= 4.08. Disabling
|
||||||
# tests for < 4.05 at least improves the error message
|
# tests for < 4.08 at least improves the error message
|
||||||
doCheck = lib.versionAtLeast ocaml.version "4.05";
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
checkInputs = [ alcotest ];
|
checkInputs = [ alcotest ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -17,7 +17,7 @@ buildDunePackage rec {
|
||||||
|
|
||||||
checkInputs = [ alcotest ];
|
checkInputs = [ alcotest ];
|
||||||
propagatedBuildInputs = [ bigstringaf ];
|
propagatedBuildInputs = [ bigstringaf ];
|
||||||
doCheck = lib.versionAtLeast ocaml.version "4.05";
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Serialization library built for speed and memory efficiency";
|
description = "Serialization library built for speed and memory efficiency";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, fetchFromGitLab, buildDunePackage, zarith, alcotest }:
|
{ lib, fetchFromGitLab, buildDunePackage, ocaml, zarith, alcotest }:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "ff";
|
pname = "ff";
|
||||||
|
@ -21,7 +21,7 @@ buildDunePackage rec {
|
||||||
alcotest
|
alcotest
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://gitlab.com/dannywillems/ocaml-ff";
|
homepage = "https://gitlab.com/dannywillems/ocaml-ff";
|
||||||
|
|
|
@ -1,21 +1,20 @@
|
||||||
{ lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, cmdliner, seq, stdlib-shims }:
|
{ lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, cmdliner }:
|
||||||
|
|
||||||
if lib.versionOlder ocaml.version "4.05"
|
if lib.versionOlder ocaml.version "4.08"
|
||||||
then throw "fmt is not available for OCaml ${ocaml.version}"
|
then throw "fmt is not available for OCaml ${ocaml.version}"
|
||||||
else
|
else
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.8.9";
|
version = "0.9.0";
|
||||||
pname = "ocaml${ocaml.version}-fmt";
|
pname = "ocaml${ocaml.version}-fmt";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://erratique.ch/software/fmt/releases/fmt-${version}.tbz";
|
url = "https://erratique.ch/software/fmt/releases/fmt-${version}.tbz";
|
||||||
sha256 = "0gkkkj4x678vxdda4xaw2dd44qjacavsvn5nx8gydfwah6pjbkxk";
|
sha256 = "sha256-8fsggFoi3XWhN9cnBKNw53ic9r32OUjmgX0cImwUEmE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ];
|
nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ];
|
||||||
buildInputs = [ cmdliner topkg ];
|
buildInputs = [ cmdliner topkg ];
|
||||||
propagatedBuildInputs = [ seq stdlib-shims ];
|
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ buildDunePackage rec {
|
||||||
|
|
||||||
checkInputs = [ alcotest ];
|
checkInputs = [ alcotest ];
|
||||||
|
|
||||||
doCheck = lib.versionAtLeast ocaml.version "4.05";
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Heterogenous maps over a GADT";
|
description = "Heterogenous maps over a GADT";
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
{ lib, buildDunePackage, ocaml, fetchurl, alcotest, fmt, menhir, re }:
|
{ lib, buildDunePackage, fetchurl, alcotest, fmt, menhir, re }:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "graphql_parser";
|
pname = "graphql_parser";
|
||||||
version = "0.14.0";
|
version = "0.14.0";
|
||||||
|
|
||||||
minimalOCamlVersion = "4.05";
|
minimalOCamlVersion = "4.08";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/andreas/ocaml-graphql-server/releases/download/${version}/graphql-${version}.tbz";
|
url = "https://github.com/andreas/ocaml-graphql-server/releases/download/${version}/graphql-${version}.tbz";
|
||||||
|
@ -16,7 +16,7 @@ buildDunePackage rec {
|
||||||
|
|
||||||
checkInputs = [ alcotest ];
|
checkInputs = [ alcotest ];
|
||||||
|
|
||||||
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
doCheck = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/andreas/ocaml-graphql-server";
|
homepage = "https://github.com/andreas/ocaml-graphql-server";
|
||||||
|
|
|
@ -43,7 +43,7 @@ buildDunePackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
# Tests fail with 4.06
|
# Tests fail with 4.06
|
||||||
doCheck = lib.versionAtLeast ocaml.version "4.07";
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
ln -s "${http2-frame-test-case}" lib_test/http2-frame-test-case
|
ln -s "${http2-frame-test-case}" lib_test/http2-frame-test-case
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, fetchFromGitHub, fetchpatch, buildDunePackage
|
{ lib, fetchFromGitHub, fetchpatch, buildDunePackage, ocaml
|
||||||
, angstrom, faraday, alcotest
|
, angstrom, faraday, alcotest
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ buildDunePackage rec {
|
||||||
|
|
||||||
checkInputs = [ alcotest ];
|
checkInputs = [ alcotest ];
|
||||||
propagatedBuildInputs = [ angstrom faraday ];
|
propagatedBuildInputs = [ angstrom faraday ];
|
||||||
doCheck = true;
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A high-performance, memory-efficient, and scalable web server for OCaml";
|
description = "A high-performance, memory-efficient, and scalable web server for OCaml";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, fetchurl, buildDunePackage
|
{ lib, fetchurl, buildDunePackage, ocaml
|
||||||
, decompress, stdlib-shims, alcotest
|
, decompress, stdlib-shims, alcotest
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ buildDunePackage rec {
|
||||||
|
|
||||||
propagatedBuildInputs = [ decompress stdlib-shims ];
|
propagatedBuildInputs = [ decompress stdlib-shims ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
checkInputs = [ alcotest ];
|
checkInputs = [ alcotest ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{ lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild
|
{ lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild
|
||||||
, topkg, result, lwt, cmdliner, fmt
|
, topkg, result, lwt, cmdliner, fmt
|
||||||
|
, fmtSupport ? lib.versionAtLeast ocaml.version "4.08"
|
||||||
, js_of_ocaml
|
, js_of_ocaml
|
||||||
, jsooSupport ? true
|
, jsooSupport ? true
|
||||||
}:
|
}:
|
||||||
|
@ -22,13 +23,14 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ];
|
nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ];
|
||||||
buildInputs = [ fmt cmdliner lwt topkg ]
|
buildInputs = [ cmdliner lwt topkg ]
|
||||||
|
++ lib.optional fmtSupport fmt
|
||||||
++ lib.optional jsooSupport js_of_ocaml;
|
++ lib.optional jsooSupport js_of_ocaml;
|
||||||
propagatedBuildInputs = [ result ];
|
propagatedBuildInputs = [ result ];
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
buildPhase = "${topkg.run} build --with-js_of_ocaml ${lib.boolToString jsooSupport}";
|
buildPhase = "${topkg.run} build --with-js_of_ocaml ${lib.boolToString jsooSupport} --with-fmt ${lib.boolToString fmtSupport}";
|
||||||
|
|
||||||
inherit (topkg) installPhase;
|
inherit (topkg) installPhase;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, buildDunePackage, fetchurl
|
{ lib, buildDunePackage, ocaml, fetchurl
|
||||||
, ctypes, result
|
, ctypes, result
|
||||||
, alcotest
|
, alcotest
|
||||||
, file
|
, file
|
||||||
|
@ -23,7 +23,7 @@ buildDunePackage rec {
|
||||||
nativeBuildInputs = [ file ];
|
nativeBuildInputs = [ file ];
|
||||||
propagatedBuildInputs = [ ctypes result ];
|
propagatedBuildInputs = [ ctypes result ];
|
||||||
checkInputs = [ alcotest ];
|
checkInputs = [ alcotest ];
|
||||||
doCheck = true;
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/aantron/luv";
|
homepage = "https://github.com/aantron/luv";
|
||||||
|
|
|
@ -13,7 +13,7 @@ buildDunePackage rec {
|
||||||
|
|
||||||
checkInputs = [ alcotest ];
|
checkInputs = [ alcotest ];
|
||||||
propagatedBuildInputs = [ ppxlib ];
|
propagatedBuildInputs = [ ppxlib ];
|
||||||
doCheck = lib.versionAtLeast ocaml.version "4.05";
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/johnwhitington/ppx_blob";
|
homepage = "https://github.com/johnwhitington/ppx_blob";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, fetchurl, buildDunePackage
|
{ lib, fetchurl, buildDunePackage, ocaml
|
||||||
, alcotest
|
, alcotest
|
||||||
, base64, cmdliner, rresult, xmlm, yojson
|
, base64, cmdliner, rresult, xmlm, yojson
|
||||||
}:
|
}:
|
||||||
|
@ -18,7 +18,7 @@ buildDunePackage rec {
|
||||||
propagatedBuildInputs = [ base64 rresult xmlm ];
|
propagatedBuildInputs = [ base64 rresult xmlm ];
|
||||||
checkInputs = [ alcotest ];
|
checkInputs = [ alcotest ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/mirage/ocaml-rpc";
|
homepage = "https://github.com/mirage/ocaml-rpc";
|
||||||
|
|
|
@ -23,7 +23,7 @@ buildDunePackage rec {
|
||||||
buildInputs = [ dune-configurator ];
|
buildInputs = [ dune-configurator ];
|
||||||
propagatedBuildInputs = [ openssl ];
|
propagatedBuildInputs = [ openssl ];
|
||||||
|
|
||||||
doCheck = lib.versionAtLeast ocaml.version "4.06";
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
checkInputs = [ alcotest ];
|
checkInputs = [ alcotest ];
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
mkdir -p _build/default/tests/
|
mkdir -p _build/default/tests/
|
||||||
|
|
|
@ -17,7 +17,7 @@ buildDunePackage rec {
|
||||||
|
|
||||||
propagatedBuildInputs = [ stdlib-shims uutf uucp ];
|
propagatedBuildInputs = [ stdlib-shims uutf uucp ];
|
||||||
|
|
||||||
doCheck = lib.versionAtLeast ocaml.version "4.05";
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
checkInputs = [ alcotest fmt ];
|
checkInputs = [ alcotest fmt ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, buildDunePackage, fetchurl, alcotest }:
|
{ lib, buildDunePackage, ocaml, fetchurl, alcotest }:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "terminal_size";
|
pname = "terminal_size";
|
||||||
|
@ -12,7 +12,7 @@ buildDunePackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ alcotest ];
|
checkInputs = [ alcotest ];
|
||||||
doCheck = true;
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Get the dimensions of the terminal";
|
description = "Get the dimensions of the terminal";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, fetchFromGitLab, buildDunePackage, bigstring, alcotest, cstruct, hex }:
|
{ lib, fetchFromGitLab, buildDunePackage, ocaml, bigstring, alcotest, cstruct, hex }:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "uecc";
|
pname = "uecc";
|
||||||
|
@ -23,7 +23,7 @@ buildDunePackage rec {
|
||||||
hex
|
hex
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Bindings for ECDH and ECDSA for 8-bit, 32-bit, and 64-bit processors";
|
description = "Bindings for ECDH and ECDSA for 8-bit, 32-bit, and 64-bit processors";
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{ alcotest
|
{ alcotest
|
||||||
, buildDunePackage
|
, buildDunePackage
|
||||||
|
, ocaml
|
||||||
, fetchzip
|
, fetchzip
|
||||||
, gcc
|
, gcc
|
||||||
, fmt
|
, fmt
|
||||||
|
@ -11,6 +12,8 @@ buildDunePackage rec {
|
||||||
pname = "yuscii";
|
pname = "yuscii";
|
||||||
version = "0.3.0";
|
version = "0.3.0";
|
||||||
|
|
||||||
|
minimalOCamlVersion = "4.03";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://github.com/mirage/yuscii/releases/download/v${version}/yuscii-v${version}.tbz";
|
url = "https://github.com/mirage/yuscii/releases/download/v${version}/yuscii-v${version}.tbz";
|
||||||
sha256 = "0idywlkw0fbakrxv65swnr5bj7f2vns9kpay7q03gzlv82p670hy";
|
sha256 = "0idywlkw0fbakrxv65swnr5bj7f2vns9kpay7q03gzlv82p670hy";
|
||||||
|
@ -24,7 +27,7 @@ buildDunePackage rec {
|
||||||
fmt
|
fmt
|
||||||
uutf
|
uutf
|
||||||
];
|
];
|
||||||
doCheck = true;
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A simple mapper between UTF-7 to Unicode according RFC2152";
|
description = "A simple mapper between UTF-7 to Unicode according RFC2152";
|
||||||
|
|
Loading…
Reference in a new issue