3
0
Fork 0
forked from mirrors/nixpkgs

ocamlPackages.digestif: 1.1.0 → 1.1.2

This commit is contained in:
Vincent Laporte 2022-07-03 16:55:13 +02:00
parent 6791c3ae11
commit 1cfe539b03
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -1,29 +1,27 @@
{ lib, ocaml, fetchurl, buildDunePackage
, pkg-config, which
, bigarray-compat, eqaf, stdlib-shims
, eqaf
, alcotest, astring, bos, findlib, fpath
}:
buildDunePackage rec {
pname = "digestif";
version = "1.1.0";
version = "1.1.2";
useDune2 = true;
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/mirage/digestif/releases/download/v${version}/digestif-v${version}.tbz";
sha256 = "01gwkbrznci4xdcbww4ysgsciz2qs0r8jsmhp0siwbcgcrf1jjv5";
url = "https://github.com/mirage/digestif/releases/download/v${version}/digestif-${version}.tbz";
sha256 = "sha256-edNM5ROxFIV+OAqr328UcyGPGwXdflHQOJB3ntAbRmY=";
};
nativeBuildInputs = [ findlib which ];
buildInputs = [ ocaml ];
propagatedBuildInputs = [ bigarray-compat eqaf stdlib-shims ];
strictDeps = !doCheck;
propagatedBuildInputs = [ eqaf ];
checkInputs = [ alcotest astring bos fpath ];
doCheck = lib.versionAtLeast ocaml.version "4.05";
doCheck = true;
postCheck = ''
ocaml -I ${findlib}/lib/ocaml/${ocaml.version}/site-lib/ test/test_runes.ml