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