Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
40 lines
757 B
Nix
40 lines
757 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
buildDunePackage,
|
|
base,
|
|
ppx_sexp_conv,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "tdigest";
|
|
version = "2.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "SGrondin";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-faJ8ZQ7AWDHWfyQ2jq6+8TMe4G4NLjqHxYzLzt2LGh4=";
|
|
};
|
|
|
|
minimalOCamlVersion = "5.1";
|
|
|
|
# base v0.17 compatibility
|
|
patches = [ ./tdigest.patch ];
|
|
|
|
propagatedBuildInputs = [
|
|
base
|
|
ppx_sexp_conv
|
|
];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/SGrondin/${pname}";
|
|
description = "OCaml implementation of the T-Digest algorithm";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ niols ];
|
|
};
|
|
}
|