2017-12-29 21:55:42 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, flex, libtool }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "miller-${version}";
|
|
|
|
|
2018-10-27 13:17:58 +02:00
|
|
|
version = "5.4.0";
|
2017-12-29 21:55:42 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "johnkerl";
|
|
|
|
repo = "miller";
|
2018-01-07 14:06:35 +01:00
|
|
|
rev = "${version}";
|
2018-10-27 13:17:58 +02:00
|
|
|
sha256 = "0158by642frh9x6rrgqxwmk4766wb36kp0rrjg5swdbs9w3is3xg";
|
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;
|
|
|
|
};
|
|
|
|
}
|