2019-09-02 23:42:25 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, flex, libtool }:
|
2017-12-29 20:55:42 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "miller";
|
2017-12-29 20:55:42 +00:00
|
|
|
|
2020-09-05 08:31:19 +01:00
|
|
|
version = "5.9.1";
|
2017-12-29 20:55:42 +00:00
|
|
|
|
2019-09-02 23:42:25 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "johnkerl";
|
|
|
|
repo = "miller";
|
|
|
|
rev = "v${version}";
|
2020-09-05 08:31:19 +01:00
|
|
|
sha256 = "1i9bcpfjnl2yjnfmf0ar1l62zwq01ph0yylz0dby8k2l7cvq5ci6";
|
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;
|
|
|
|
};
|
|
|
|
}
|