ocamlPackages.bigarray-overlap: init at 0.2.0

This commit is contained in:
sternenseemann 2020-06-29 20:31:47 +02:00 committed by Vincent Laporte
parent 00c6fa607c
commit fce108ef60
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,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 ];
};
}

View file

@ -52,6 +52,8 @@ let
bigarray-compat = callPackage ../development/ocaml-modules/bigarray-compat { };
bigarray-overlap = callPackage ../development/ocaml-modules/bigarray-overlap { };
bigstringaf = callPackage ../development/ocaml-modules/bigstringaf { };
bigstring = callPackage ../development/ocaml-modules/bigstring { };