summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/bstr/default.nix
blob: 9ec7bb335456ec9c618575f65314e26ae4eb06e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
  fetchurl,
  buildDunePackage,
  lib,
}:

buildDunePackage (finalAttrs: {
  pname = "bstr";
  version = "0.0.4";

  minimalOCamlVersion = "4.13";

  src = fetchurl {
    url = "https://github.com/robur-coop/bstr/releases/download/v${finalAttrs.version}/bstr-${finalAttrs.version}.tbz";
    hash = "sha256-ZAg28VstVVvfI2b213g5JuEVmK1+lFV7Fnx4WyVfSFY=";
  };

  meta = {
    description = "A simple library for bigstrings";
    homepage = "https://git.robur.coop/robur/bstr";
    license = [
      lib.licenses.mit
      lib.licenses.isc
    ];
    maintainers = [ lib.maintainers.vbgl ];
  };
})