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