nixpkgs/pkgs/development/ocaml-modules/bigstringaf/default.nix
2019-10-18 05:59:29 +00:00

27 lines
647 B
Nix

{ lib, fetchFromGitHub, buildDunePackage, alcotest, bigarray-compat }:
buildDunePackage rec {
pname = "bigstringaf";
version = "0.6.0";
minimumOCamlVersion = "4.03";
src = fetchFromGitHub {
owner = "inhabitedtype";
repo = pname;
rev = version;
sha256 = "04b088vrqzmxsyan9f9nr8721bxip4b930cgvb5zkbbmrw3ylmwc";
};
buildInputs = [ alcotest ];
propagatedBuildInputs = [ bigarray-compat ];
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;
};
}