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

buildDunePackage (finalAttrs: {
  pname = "res";
  version = "5.0.2";

  minimalOCamlVersion = "4.08";

  src = fetchurl {
    url = "https://github.com/mmottl/res/releases/download/${finalAttrs.version}/res-${finalAttrs.version}.tbz";
    hash = "sha256-hQxRETCYxy7ZHah5cg+XHtH3wCj/ofq1VHxsPHu91FU=";
  };

  doCheck = true;

  meta = {
    description = "Library for resizable, contiguous datastructures";
    homepage = "https://github.com/mmottl/res";
    changelog = "https://github.com/mmottl/res/blob/${finalAttrs.version}/CHANGES.md";
    license = lib.licenses.lgpl2Plus;
    maintainers = with lib.maintainers; [ sixstring982 ];
  };
})