2019-12-02 05:07:43 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage }:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "bigstring";
|
2021-03-31 19:47:55 +01:00
|
|
|
version = "0.3";
|
|
|
|
|
|
|
|
useDune2 = true;
|
2019-12-02 05:07:43 +00:00
|
|
|
|
|
|
|
minimumOCamlVersion = "4.03";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "c-cube";
|
|
|
|
repo = "ocaml-bigstring";
|
|
|
|
rev = version;
|
2021-03-31 19:47:55 +01:00
|
|
|
sha256 = "0bkxwdcswy80f6rmx5wjza92xzq4rdqsb4a9fm8aav8bdqx021n8";
|
2019-12-02 05:07:43 +00:00
|
|
|
};
|
|
|
|
|
2021-03-31 19:47:55 +01:00
|
|
|
# Circular dependency with bigstring-unix
|
|
|
|
doCheck = false;
|
2019-12-02 05:07:43 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2020-05-08 14:20:47 +01:00
|
|
|
homepage = "https://github.com/c-cube/ocaml-bigstring";
|
2019-12-02 05:07:43 +00:00
|
|
|
description = "Bigstring built on top of bigarrays, and convenient functions";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = [ maintainers.alexfmpe ];
|
|
|
|
};
|
|
|
|
}
|