depot/third_party/nixpkgs/pkgs/tools/misc/sta/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 lines
1,015 B
Nix

{ stdenv, lib, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation {
pname = "sta";
version = "unstable-2016-01-25";
src = fetchFromGitHub {
owner = "simonccarter";
repo = "sta";
rev = "2aa2a6035dde88b24978b875e4c45e0e296f77ed";
sha256 = "05804f106nb89yvdd0csvpd5skwvnr9x4qr3maqzaw0qr055mrsk";
};
buildInputs = [ autoreconfHook ];
meta = with lib; {
description = "Simple statistics from the command line interface (CLI), fast";
longDescription = ''
This is a lightweight, fast tool for calculating basic descriptive
statistics from the command line. Inspired by
https://github.com/nferraz/st, this project differs in that it is written
in C++, allowing for faster computation of statistics given larger
non-trivial data sets.
'';
license = licenses.mit;
homepage = "https://github.com/simonccarter/sta";
maintainers = with maintainers; [ infinisil ];
platforms = platforms.all;
badPlatforms = platforms.darwin;
};
}