ocamlPackages.base64: 3.2.0 → 3.4.0
This commit is contained in:
parent
b709b7ac3d
commit
5b8a0f0978
1 changed files with 8 additions and 16 deletions
|
@ -1,25 +1,17 @@
|
||||||
{ lib, fetchpatch, fetchzip, buildDunePackage, alcotest, bos }:
|
{ lib, fetchurl, buildDunePackage, alcotest, bos, dune-configurator }:
|
||||||
|
|
||||||
let version = "3.2.0"; in
|
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "base64";
|
pname = "base64";
|
||||||
inherit version;
|
version = "3.4.0";
|
||||||
|
|
||||||
src = fetchzip {
|
useDune2 = true;
|
||||||
url = "https://github.com/mirage/ocaml-base64/archive/v${version}.tar.gz";
|
|
||||||
sha256 = "1ilw3zj0w6cq7i4pvr8m2kv5l5f2y9aldmv72drlwwns013b1gwy";
|
src = fetchurl {
|
||||||
|
url = "https://github.com/mirage/ocaml-base64/releases/download/v${version}/base64-v${version}.tbz";
|
||||||
|
sha256 = "0d0n5gd4nkdsz14jnxq13f1f7rzxmndg5xql039a8wfppmazd70w";
|
||||||
};
|
};
|
||||||
|
|
||||||
minimumOCamlVersion = "4.03";
|
buildInputs = [ bos dune-configurator ];
|
||||||
|
|
||||||
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 ];
|
checkInputs = [ alcotest ];
|
||||||
|
|
Loading…
Reference in a new issue