forked from mirrors/nixpkgs
eb11feaa0b
Changes the default fetcher in the Rust Platform to be the newer `fetchCargoTarball`, and changes every application using the current default to instead opt out. This commit does not change any hashes or cause any rebuilds. Once integrated, we will start deleting the opt-outs and recomputing hashes. See #79975 for details.
34 lines
1.1 KiB
Nix
34 lines
1.1 KiB
Nix
{ stdenv, fetchFromGitHub, rustPlatform }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "staccato";
|
|
version = "0.1.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tshlabs";
|
|
repo = "staccato";
|
|
rev = version;
|
|
sha256 = "1zbd1gx0ik2r7bavcid776j37g6rzd3f6cs94kq1qar4gyf1gqjm";
|
|
};
|
|
|
|
# Delete this on next update; see #79975 for details
|
|
legacyCargoFetcher = true;
|
|
|
|
cargoSha256 = "0h1822hba6lpv14y6hgn8qgh7p812b3kkf592ggr6yjlhqfh37n7";
|
|
|
|
meta = {
|
|
broken = true;
|
|
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.
|
|
'';
|
|
homepage = https://docs.rs/crate/staccato;
|
|
license = stdenv.lib.licenses.gpl3;
|
|
platforms = stdenv.lib.platforms.all;
|
|
};
|
|
}
|