aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/ocaml-modules/ptmap/default.nix
blob: 018f1e3edf06ec0d183de3f7f4b4ad81a3ad1463 (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 rec {
  pname = "ptmap";
  version = "2.0.5";

  useDune2 = true;

  src = fetchurl {
    url = "https://github.com/backtracking/ptmap/releases/download/${version}/ptmap-${version}.tbz";
    sha256 = "1apk61fc1y1g7x3m3c91fnskvxp6i0vk5nxwvipj56k7x2pzilgb";
  };

  propagatedBuildInputs = [ seq ];

  doCheck = true;

  checkInputs = [ stdlib-shims ];

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