···44 buildDunePackage,
55 alcotest,
66 pkg-config,
77+ dune-configurator,
78}:
89910buildDunePackage rec {
1011 pname = "bigstringaf";
1111- version = "0.9.0";
1212+ version = "0.10.0";
12131314 minimalOCamlVersion = "4.08";
1414- duneVersion = "3";
15151616 src = fetchFromGitHub {
1717 owner = "inhabitedtype";
1818 repo = pname;
1919- rev = version;
2020- hash = "sha256-HXPjnE56auy2MI6HV2XuBX/VeqsO50HFzTul17lKEqE=";
1919+ tag = version;
2020+ hash = "sha256-p1hdB3ArOd2UX7S6YvXCFbYjEiXdMDmBaC/lFQgua7Q=";
2121 };
22222323 nativeBuildInputs = [ pkg-config ];
2424+ buildInputs = [ dune-configurator ];
2525+2426 checkInputs = [ alcotest ];
2527 doCheck = true;
26282729 meta = {
2830 description = "Bigstring intrinsics and fast blits based on memcpy/memmove";
3131+ longDescription = ''
3232+ Bigstring intrinsics and fast blits based on memcpy/memmove
3333+3434+ The OCaml compiler has a bunch of intrinsics for Bigstrings, but they're not
3535+ widely-known, sometimes misused, and so programs that use Bigstrings are slower
3636+ than they have to be. And even if a library got that part right and exposed the
3737+ intrinsics properly, the compiler doesn't have any fast blits between
3838+ Bigstrings and other string-like types.
3939+4040+ So here they are. Go crazy.
4141+ '';
4242+ changelog = "https://github.com/inhabitedtype/bigstringaf/releases/tag/${version}";
2943 license = lib.licenses.bsd3;
3044 maintainers = [ lib.maintainers.vbgl ];
3145 inherit (src.meta) homepage;