2018-11-05 11:21:46 +01:00
|
|
|
{ stdenv, fetchFromGitHub, buildDunePackage, alcotest }:
|
2018-07-22 08:11:39 +02:00
|
|
|
|
2018-11-05 11:21:46 +01:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "bigstringaf";
|
2018-07-22 08:11:39 +02:00
|
|
|
version = "0.3.0";
|
2018-11-05 11:21:46 +01:00
|
|
|
|
|
|
|
minimumOCamlVersion = "4.03";
|
2018-07-22 08:11:39 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "inhabitedtype";
|
2018-11-05 11:21:46 +01:00
|
|
|
repo = pname;
|
2018-07-22 08:11:39 +02:00
|
|
|
rev = version;
|
|
|
|
sha256 = "1yx6hv8rk0ldz1h6kk00rwg8abpfc376z00aifl9f5rn7xavpscs";
|
|
|
|
};
|
|
|
|
|
2018-11-05 11:21:46 +01:00
|
|
|
buildInputs = [ alcotest ];
|
2018-07-22 08:11:39 +02: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;
|
|
|
|
};
|
|
|
|
}
|