2018-11-05 10:21:46 +00:00
|
|
|
{ stdenv, fetchFromGitHub, buildDunePackage, alcotest }:
|
2018-07-22 06:11:39 +00:00
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "bigstringaf";
|
2018-07-22 06:11:39 +00:00
|
|
|
version = "0.3.0";
|
2018-11-05 10:21:46 +00:00
|
|
|
|
|
|
|
minimumOCamlVersion = "4.03";
|
2018-07-22 06:11:39 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "inhabitedtype";
|
2018-11-05 10:21:46 +00:00
|
|
|
repo = pname;
|
2018-07-22 06:11:39 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "1yx6hv8rk0ldz1h6kk00rwg8abpfc376z00aifl9f5rn7xavpscs";
|
|
|
|
};
|
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildInputs = [ alcotest ];
|
2018-07-22 06:11:39 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Bigstring intrinsics and fast blits based on memcpy/memmove";
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
};
|
|
|
|
}
|