1{
2 lib,
3 buildDunePackage,
4 fetchurl,
5 seq,
6 stdlib-shims,
7}:
8
9buildDunePackage rec {
10 pname = "ptmap";
11 version = "2.0.5";
12
13 useDune2 = true;
14
15 src = fetchurl {
16 url = "https://github.com/backtracking/ptmap/releases/download/${version}/ptmap-${version}.tbz";
17 sha256 = "1apk61fc1y1g7x3m3c91fnskvxp6i0vk5nxwvipj56k7x2pzilgb";
18 };
19
20 buildInputs = [ stdlib-shims ];
21 propagatedBuildInputs = [ seq ];
22
23 doCheck = true;
24
25 meta = {
26 homepage = "https://www.lri.fr/~filliatr/software.en.html";
27 description = "Maps over integers implemented as Patricia trees";
28 license = lib.licenses.lgpl21;
29 maintainers = [ ];
30 };
31}