git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlPackages.vector: init at 1.0.0
commit94aeee3af18511fed2712ba64b065bd554a8d0a7 authorVincent Laporte <Vincent.Laporte@gmail.com> dateFri 14 Jan 2022, 15:43 (5 years ago) parent55eac49
2 files changed+25
pkgs/development/ocaml-modules/vector/default.nix+23 pkgs/top-level/ocaml-packages.nix+2
pkgs/development/ocaml-modules/vector/default.nixnew file+23
@@ -0,0 +1,23 @@
1+{ lib, buildDunePackage, fetchurl }:
2+
3+buildDunePackage rec {
4+ pname = "vector";
5+ version = "1.0.0";
6+
7+ useDune2 = true;
8+
9+ src = fetchurl {
10+ url = "https://github.com/backtracking/vector/releases/download/${version}/vector-${version}.tbz";
11+ sha256 = "sha256:0hb6prpada4c5z07sxf5ayj5xbahsnwall15vaqdwdyfjgbd24pj";
12+ };
13+
14+ doCheck = true;
15+
16+ meta = {
17+ description = "Resizable arrays for OCaml";
18+ license = lib.licenses.lgpl2Only;
19+ homepage = "https://github.com/backtracking/vector";
20+ maintainers = [ lib.maintainers.vbgl ];
21+ };
22+
23+}
pkgs/top-level/ocaml-packages.nix+2
@@ -1374,6 +1374,8 @@ let
13741374
13751375 vchan = callPackage ../development/ocaml-modules/vchan { };
13761376
1377+ vector = callPackage ../development/ocaml-modules/vector { };
1378+
13771379 vg = callPackage ../development/ocaml-modules/vg { };
13781380
13791381 vlq = callPackage ../development/ocaml-modules/vlq { };