1{ lib, buildDunePackage, fetchurl
2, alcotest, pkg-config
3}:
4
5buildDunePackage rec {
6 pname = "bigarray-overlap";
7 version = "0.2.1";
8
9 src = fetchurl {
10 url = "https://github.com/dinosaure/overlap/releases/download/v${version}/bigarray-overlap-${version}.tbz";
11 hash = "sha256-L1IKxHAFTjNYg+upJUvyi2Z23bV3U8+1iyLPhK4aZuA=";
12 };
13
14 minimalOCamlVersion = "4.08";
15 duneVersion = "3";
16
17 nativeBuildInputs = [ pkg-config ];
18 checkInputs = [ alcotest ];
19 doCheck = true;
20
21 meta = with lib; {
22 homepage = "https://github.com/dinosaure/overlap";
23 description = "A minimal library to know that 2 bigarray share physically the same memory or not";
24 license = licenses.mit;
25 maintainers = [ maintainers.sternenseemann ];
26 };
27}