1{ lib, buildDunePackage, fetchurl
2, bigarray-compat, alcotest, astring, fpath, bos, findlib, pkg-config
3}:
4
5buildDunePackage rec {
6 pname = "bigarray-overlap";
7 version = "0.2.0";
8
9 src = fetchurl {
10 url = "https://github.com/dinosaure/overlap/releases/download/v${version}/bigarray-overlap-v${version}.tbz";
11 sha256 = "1v86avafsbyxjccy0y9gny31s2jzb0kd42v3mhcalklx5f044lcy";
12 };
13
14 minimumOCamlVersion = "4.07";
15 useDune2 = true;
16
17 propagatedBuildInputs = [ bigarray-compat ];
18
19 checkInputs = [ alcotest astring fpath bos findlib pkg-config ];
20 doCheck = true;
21
22 meta = with lib; {
23 homepage = "https://github.com/dinosaure/overlap";
24 description = "A minimal library to know that 2 bigarray share physically the same memory or not";
25 license = licenses.mit;
26 maintainers = [ maintainers.sternenseemann ];
27 };
28}