diff options
author | Maciek Starzyk <mstarzyk@gmail.com> | 2017-12-29 21:55:42 +0100 |
---|---|---|
committer | Maciek Starzyk <mstarzyk@gmail.com> | 2017-12-29 21:55:42 +0100 |
commit | 8bf2a0971e689b51cbd241962599bd8994682222 (patch) | |
tree | 74bf72b80e3a32ed3c0915e6af3c5c4d52384792 /pkgs/tools/text/miller | |
parent | 56518ff5ac232b41a96f3c191103e309309cbe9e (diff) |
miller: init at 5.2.2
Diffstat (limited to 'pkgs/tools/text/miller')
-rw-r--r-- | pkgs/tools/text/miller/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/text/miller/default.nix b/pkgs/tools/text/miller/default.nix new file mode 100644 index 000000000000..7e0d2b4a14c2 --- /dev/null +++ b/pkgs/tools/text/miller/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchFromGitHub, autoreconfHook, flex, libtool }: + +stdenv.mkDerivation rec { + name = "miller-${version}"; + + version = "5.2.2"; + + src = fetchFromGitHub { + owner = "johnkerl"; + repo = "miller"; + rev = "v${version}"; + sha256 = "1i5lyknsf4vif601l070xh5sz8jy2h359jrb0kc0s0pl8lypxs4i"; + }; + + 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; + }; +} |