mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 20:55:31 +03:00
ocamlPackages.bigstringaf: modernize the derivation and add changelog and longDescription
This commit is contained in:
parent
a21c18ab26
commit
9a43f6bcdc
1 changed files with 13 additions and 1 deletions
|
@ -16,7 +16,7 @@ buildDunePackage rec {
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "inhabitedtype";
|
owner = "inhabitedtype";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
tag = version;
|
||||||
hash = "sha256-p1hdB3ArOd2UX7S6YvXCFbYjEiXdMDmBaC/lFQgua7Q=";
|
hash = "sha256-p1hdB3ArOd2UX7S6YvXCFbYjEiXdMDmBaC/lFQgua7Q=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -28,6 +28,18 @@ buildDunePackage rec {
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Bigstring intrinsics and fast blits based on memcpy/memmove";
|
description = "Bigstring intrinsics and fast blits based on memcpy/memmove";
|
||||||
|
longDescription = ''
|
||||||
|
Bigstring intrinsics and fast blits based on memcpy/memmove
|
||||||
|
|
||||||
|
The OCaml compiler has a bunch of intrinsics for Bigstrings, but they're not
|
||||||
|
widely-known, sometimes misused, and so programs that use Bigstrings are slower
|
||||||
|
than they have to be. And even if a library got that part right and exposed the
|
||||||
|
intrinsics properly, the compiler doesn't have any fast blits between
|
||||||
|
Bigstrings and other string-like types.
|
||||||
|
|
||||||
|
So here they are. Go crazy.
|
||||||
|
'';
|
||||||
|
changelog = "https://github.com/inhabitedtype/bigstringaf/releases/tag/${version}";
|
||||||
license = lib.licenses.bsd3;
|
license = lib.licenses.bsd3;
|
||||||
maintainers = [ lib.maintainers.vbgl ];
|
maintainers = [ lib.maintainers.vbgl ];
|
||||||
inherit (src.meta) homepage;
|
inherit (src.meta) homepage;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue