depot/pkgs/development/ocaml-modules/ptset/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

26 lines
618 B
Nix

{ lib, fetchurl, buildDunePackage
, stdlib-shims
}:
buildDunePackage rec {
pname = "ptset";
version = "1.0.1";
useDune2 = true;
src = fetchurl {
url = "https://github.com/backtracking/ptset/releases/download/${version}/ptset-${version}.tbz";
sha256 = "1pr80mgk12l93mdq1wfsv2b6ccraxs334d5h92qzjh7bw2g13424";
};
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 ];
};
}