python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / ocaml-modules / bigarray-overlap / default.nix
blobc702faee8f82d8a878dcf34aba13bd46ed8f2121
1 { lib, buildDunePackage, ocaml, fetchurl
2 , bigarray-compat, alcotest, astring, fpath, bos, findlib, pkg-config
3 }:
5 buildDunePackage rec {
6   pname = "bigarray-overlap";
7   version = "0.2.0";
9   src = fetchurl {
10     url = "https://github.com/dinosaure/overlap/releases/download/v${version}/bigarray-overlap-v${version}.tbz";
11     sha256 = "1v86avafsbyxjccy0y9gny31s2jzb0kd42v3mhcalklx5f044lcy";
12   };
14   minimumOCamlVersion = "4.07";
15   useDune2 = true;
17   strictDeps = !doCheck;
19   propagatedBuildInputs = [ bigarray-compat ];
21   nativeBuildInputs = [ findlib pkg-config ];
22   checkInputs = [ alcotest astring fpath bos ];
23   doCheck = lib.versionAtLeast ocaml.version "4.08";
25   meta = with lib; {
26     homepage = "https://github.com/dinosaure/overlap";
27     description = "A minimal library to know that 2 bigarray share physically the same memory or not";
28     license = licenses.mit;
29     maintainers = [ maintainers.sternenseemann ];
30   };