summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/vector/default.nix
blob: c5f4336bb833aaa0714c48eac1e51101dbd70a88 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, buildDunePackage, fetchurl }:

buildDunePackage rec {
  pname = "vector";
  version = "1.0.0";

  useDune2 = true;

  src = fetchurl {
    url = "https://github.com/backtracking/vector/releases/download/${version}/vector-${version}.tbz";
    sha256 = "sha256:0hb6prpada4c5z07sxf5ayj5xbahsnwall15vaqdwdyfjgbd24pj";
  };

  doCheck = true;

  meta = {
    description = "Resizable arrays for OCaml";
    license = lib.licenses.lgpl2Only;
    homepage = "https://github.com/backtracking/vector";
    maintainers = [ lib.maintainers.vbgl ];
  };

}