depot/third_party/nixpkgs/pkgs/development/ocaml-modules/bigarray-overlap/default.nix
Default email ed0c4a69f0 Project import generated by Copybara.
GitOrigin-RevId: e3652e0735fbec227f342712f180f4f21f0594f2
2023-03-31 00:05:00 +02:00

27 lines
744 B
Nix

{ lib, buildDunePackage, fetchurl
, alcotest, pkg-config
}:
buildDunePackage rec {
pname = "bigarray-overlap";
version = "0.2.1";
src = fetchurl {
url = "https://github.com/dinosaure/overlap/releases/download/v${version}/bigarray-overlap-${version}.tbz";
hash = "sha256-L1IKxHAFTjNYg+upJUvyi2Z23bV3U8+1iyLPhK4aZuA=";
};
minimalOCamlVersion = "4.08";
duneVersion = "3";
nativeBuildInputs = [ pkg-config ];
checkInputs = [ alcotest ];
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 ];
};
}