2020-09-25 04:45:31 +00:00
|
|
|
{ lib, buildDunePackage, fetchurl
|
|
|
|
, seq
|
|
|
|
, stdlib-shims
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ptmap";
|
|
|
|
version = "2.0.5";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
useDune2 = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/backtracking/ptmap/releases/download/${version}/ptmap-${version}.tbz";
|
|
|
|
sha256 = "1apk61fc1y1g7x3m3c91fnskvxp6i0vk5nxwvipj56k7x2pzilgb";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
buildInputs = [ stdlib-shims ];
|
2020-09-25 04:45:31 +00:00
|
|
|
propagatedBuildInputs = [ seq ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
doCheck = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://www.lri.fr/~filliatr/software.en.html";
|
|
|
|
description = "Maps over integers implemented as Patricia trees";
|
2020-09-25 04:45:31 +00:00
|
|
|
license = lib.licenses.lgpl21;
|
2022-07-14 12:49:19 +00:00
|
|
|
maintainers = with lib.maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|