summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/ptset/default.nix
blob: 9058730fade63eb9cf83a52c1e2e382c9c99439a (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
{
  lib,
  fetchurl,
  buildDunePackage,
  stdlib-shims,
}:

buildDunePackage (finalAttrs: {
  pname = "ptset";
  version = "1.0.1";

  src = fetchurl {
    url = "https://github.com/backtracking/ptset/releases/download/${finalAttrs.version}/ptset-${finalAttrs.version}.tbz";
    hash = "sha256-RJARnuDrQPmxSLA0MobuKjNmltja8YBbHYmKMF8FKN8=";
  };

  doCheck = true;

  propagatedBuildInputs = [ stdlib-shims ];

  meta = {
    description = "Integer set implementation using Patricia trees";
    homepage = "https://github.com/backtracking/ptset";
    license = lib.licenses.lgpl21;
    maintainers = [ lib.maintainers.vbgl ];
  };
})