aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/ocaml-modules/bigarray-overlap/default.nix
blob: e02b1159a9c74453277a0322d62cd8b8b0f8e319 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib, buildDunePackage, fetchurl
, 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 ];

  checkInputs = [ alcotest astring fpath bos findlib pkg-config ];
  doCheck = true;

  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 ];
  };
}