summaryrefslogtreecommitdiff
path: root/pkgs/development/ocaml-modules/vector/default.nix
blob: 4c0ece18e94ba5aaa64658c71f82eef61b9b44d2 (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
{
  lib,
  buildDunePackage,
  fetchurl,
}:

buildDunePackage (finalAttrs: {
  pname = "vector";
  version = "1.0.0";

  src = fetchurl {
    url = "https://github.com/backtracking/vector/releases/download/${finalAttrs.version}/vector-${finalAttrs.version}.tbz";
    hash = "sha256-8hLR1pPON96w2iVQqrjVUK1epFfFdX3AL4yopm6+ZkE=";
  };

  doCheck = true;

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

})