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