depot/third_party/nixpkgs/pkgs/development/ocaml-modules/bigstringaf/default.nix
Default email 4bac34ead1 Project import generated by Copybara.
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
2023-02-09 12:40:11 +01:00

26 lines
656 B
Nix

{ lib, fetchFromGitHub, buildDunePackage, ocaml, alcotest, bigarray-compat, pkg-config }:
buildDunePackage rec {
pname = "bigstringaf";
version = "0.9.0";
minimalOCamlVersion = "4.08";
src = fetchFromGitHub {
owner = "inhabitedtype";
repo = pname;
rev = version;
sha256 = "sha256-HXPjnE56auy2MI6HV2XuBX/VeqsO50HFzTul17lKEqE=";
};
nativeBuildInputs = [ pkg-config ];
checkInputs = [ alcotest ];
doCheck = true;
meta = {
description = "Bigstring intrinsics and fast blits based on memcpy/memmove";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage;
};
}