2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, flex, libtool }:
|
2017-12-29 20:55:42 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "miller";
|
2017-12-29 20:55:42 +00:00
|
|
|
|
2021-03-27 16:18:06 +00:00
|
|
|
version = "5.10.2";
|
2017-12-29 20:55:42 +00:00
|
|
|
|
2019-09-02 22:42:25 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "johnkerl";
|
|
|
|
repo = "miller";
|
|
|
|
rev = "v${version}";
|
2021-03-27 16:18:06 +00:00
|
|
|
sha256 = "sha256-NI57U3FpUfQ6ouBEYrzzG+9kpL58BD4HoAuRAFJMO9k=";
|
2017-12-29 20:55:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook flex libtool ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-10-26 04:08:40 +00:00
|
|
|
description = "Like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON";
|
2017-12-29 20:55:42 +00:00
|
|
|
homepage = "http://johnkerl.org/miller/";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ mstarzyk ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|