mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
32 lines
651 B
Nix
32 lines
651 B
Nix
{ lib, fetchFromGitHub, nix-update-script
|
|
, buildDunePackage
|
|
, core
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "tdigest";
|
|
version = "2.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "SGrondin";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-Z2rOaiNGvVDbRwf5XfoNIcenQdrE3fxHnfzyi6Ki2Ic=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|