Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, fetchFromGitHub, buildDunePackage }:
2
3buildDunePackage rec {
4 pname = "bigstring";
5 version = "0.3";
6
7 useDune2 = true;
8
9 minimumOCamlVersion = "4.03";
10
11 src = fetchFromGitHub {
12 owner = "c-cube";
13 repo = "ocaml-bigstring";
14 rev = version;
15 sha256 = "0bkxwdcswy80f6rmx5wjza92xzq4rdqsb4a9fm8aav8bdqx021n8";
16 };
17
18 # Circular dependency with bigstring-unix
19 doCheck = false;
20
21 meta = with lib; {
22 homepage = "https://github.com/c-cube/ocaml-bigstring";
23 description = "Bigstring built on top of bigarrays, and convenient functions";
24 license = licenses.bsd2;
25 maintainers = [ maintainers.alexfmpe ];
26 };
27}