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