3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/text/miller/default.nix

25 lines
690 B
Nix
Raw Normal View History

2017-12-29 20:55:42 +00:00
{ stdenv, fetchFromGitHub, autoreconfHook, flex, libtool }:
stdenv.mkDerivation rec {
name = "miller-${version}";
2018-01-07 13:06:35 +00:00
version = "5.3.0";
2017-12-29 20:55:42 +00:00
src = fetchFromGitHub {
owner = "johnkerl";
repo = "miller";
2018-01-07 13:06:35 +00:00
rev = "${version}";
sha256 = "0abw2n6mi4wbgwihcv3y2xccqx4sj0gdgwvdrg2jkcgraa78sw8v";
2017-12-29 20:55:42 +00:00
};
nativeBuildInputs = [ autoreconfHook flex libtool ];
meta = with stdenv.lib; {
description = "Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON.";
homepage = "http://johnkerl.org/miller/";
license = licenses.bsd2;
maintainers = with maintainers; [ mstarzyk ];
platforms = platforms.all;
};
}