9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
31 lines
651 B
Nix
31 lines
651 B
Nix
{ lib, fetchFromGitHub, nix-update-script
|
|
, buildDunePackage
|
|
, core
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "tdigest";
|
|
version = "2.1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "SGrondin";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-pkJRJeEbBbAR1STb6v3Zu11twvHkAKAO0YjifRBFTDw=";
|
|
};
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
propagatedBuildInputs = [
|
|
core
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|