2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, flex, libtool }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "miller";
|
|
|
|
|
2020-12-03 08:41:04 +00:00
|
|
|
version = "5.10.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "johnkerl";
|
|
|
|
repo = "miller";
|
|
|
|
rev = "v${version}";
|
2020-12-03 08:41:04 +00:00
|
|
|
sha256 = "02jqbxnchljyqnmlbxjaf5zpdi03gxapfy38dfikl5j4f7yyxvjs";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook flex libtool ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-11-03 02:18:15 +00:00
|
|
|
description = "Like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://johnkerl.org/miller/";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ mstarzyk ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|