nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchurl,
4 buildDunePackage,
5 stdlib-shims,
6}:
7
8buildDunePackage (finalAttrs: {
9 pname = "ptset";
10 version = "1.0.1";
11
12 src = fetchurl {
13 url = "https://github.com/backtracking/ptset/releases/download/${finalAttrs.version}/ptset-${finalAttrs.version}.tbz";
14 hash = "sha256-RJARnuDrQPmxSLA0MobuKjNmltja8YBbHYmKMF8FKN8=";
15 };
16
17 doCheck = true;
18
19 propagatedBuildInputs = [ stdlib-shims ];
20
21 meta = {
22 description = "Integer set implementation using Patricia trees";
23 homepage = "https://github.com/backtracking/ptset";
24 license = lib.licenses.lgpl21;
25 maintainers = [ lib.maintainers.vbgl ];
26 };
27})