2022-09-09 14:08:57 +00:00
|
|
|
{ lib, buildDunePackage, ocaml, fetchurl
|
2020-07-18 16:06:22 +00:00
|
|
|
, bigarray-compat, alcotest, astring, fpath, bos, findlib, pkg-config
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "bigarray-overlap";
|
|
|
|
version = "0.2.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/dinosaure/overlap/releases/download/v${version}/bigarray-overlap-v${version}.tbz";
|
|
|
|
sha256 = "1v86avafsbyxjccy0y9gny31s2jzb0kd42v3mhcalklx5f044lcy";
|
|
|
|
};
|
|
|
|
|
|
|
|
minimumOCamlVersion = "4.07";
|
|
|
|
useDune2 = true;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ bigarray-compat ];
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
nativeBuildInputs = [ findlib pkg-config ];
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [ alcotest astring fpath bos ];
|
2022-09-09 14:08:57 +00:00
|
|
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
2020-07-18 16:06:22 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/dinosaure/overlap";
|
|
|
|
description = "A minimal library to know that 2 bigarray share physically the same memory or not";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.sternenseemann ];
|
|
|
|
};
|
|
|
|
}
|