summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/ptmap/default.nix
blob: 1dd944ede8acd313f98126d68ee6164f262a6fb3 (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
28
29
{
  lib,
  buildDunePackage,
  fetchurl,
  seq,
  stdlib-shims,
}:

buildDunePackage (finalAttrs: {
  pname = "ptmap";
  version = "2.0.5";

  src = fetchurl {
    url = "https://github.com/backtracking/ptmap/releases/download/${finalAttrs.version}/ptmap-${finalAttrs.version}.tbz";
    hash = "sha256-69H4r+hnmiJv3LzbMjeI5vY9tXUhsVFHPy/4wFww86o=";
  };

  buildInputs = [ stdlib-shims ];
  propagatedBuildInputs = [ seq ];

  doCheck = true;

  meta = {
    homepage = "https://www.lri.fr/~filliatr/software.en.html";
    description = "Maps over integers implemented as Patricia trees";
    license = lib.licenses.lgpl21;
    maintainers = [ ];
  };
})