2017-05-08 08:03:10 +01:00
|
|
|
{ stdenv, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2019-08-31 12:41:23 +01:00
|
|
|
pname = "staccato";
|
2017-05-08 08:03:10 +01:00
|
|
|
version = "0.1.6";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tshlabs";
|
|
|
|
repo = "staccato";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1zbd1gx0ik2r7bavcid776j37g6rzd3f6cs94kq1qar4gyf1gqjm";
|
|
|
|
};
|
|
|
|
|
2019-05-25 12:03:08 +01:00
|
|
|
cargoSha256 = "0h1822hba6lpv14y6hgn8qgh7p812b3kkf592ggr6yjlhqfh37n7";
|
2017-05-08 08:03:10 +01:00
|
|
|
|
|
|
|
meta = {
|
2017-08-05 15:38:48 +01:00
|
|
|
broken = true;
|
2017-05-08 08:03:10 +01:00
|
|
|
description = "A command line program that lets you compute statistics from values from a file or standard input";
|
|
|
|
longDescription = ''
|
|
|
|
Staccato (`st` for short) is a command line program that lets you
|
|
|
|
compute statistics from values from a file or standard input. It
|
|
|
|
computes things about the stream of numbers like min, max, mean, median,
|
|
|
|
and standard deviation. It can also compute these things about some
|
|
|
|
subset of the stream, for example the lower 95% of values.
|
|
|
|
'';
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://docs.rs/crate/staccato;
|
2017-05-08 08:03:10 +01:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|