ocamlPackages.base64: fix tests for alcotest ≥ 1.0
This commit is contained in:
parent
f2788cdf11
commit
36632263e0
@ -1,8 +1,8 @@
|
|||||||
{ lib, fetchzip, buildDunePackage, alcotest, bos }:
|
{ lib, fetchpatch, fetchzip, buildDunePackage, alcotest, bos }:
|
||||||
|
|
||||||
let version = "3.2.0"; in
|
let version = "3.2.0"; in
|
||||||
|
|
||||||
buildDunePackage {
|
buildDunePackage rec {
|
||||||
pname = "base64";
|
pname = "base64";
|
||||||
inherit version;
|
inherit version;
|
||||||
|
|
||||||
@ -13,9 +13,16 @@ buildDunePackage {
|
|||||||
|
|
||||||
minimumOCamlVersion = "4.03";
|
minimumOCamlVersion = "4.03";
|
||||||
|
|
||||||
buildInputs = [ alcotest bos ];
|
buildInputs = [ bos ];
|
||||||
|
|
||||||
|
# Fix test-suite for alcotest ≥ 1.0
|
||||||
|
patches = [(fetchpatch {
|
||||||
|
url = "https://github.com/mirage/ocaml-base64/commit/8d334d02aa52875158fae3e2fb8fe0a5596598d0.patch";
|
||||||
|
sha256 = "0lvqdp98qavpzis1wgwh3ijajq79hq47898gsrk37fpyjbrdzf5q";
|
||||||
|
})];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
checkInputs = [ alcotest ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/mirage/ocaml-base64";
|
homepage = "https://github.com/mirage/ocaml-base64";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user