nixpkgs/pkgs/tools/text/miller/default.nix

25 lines
681 B
Nix
Raw Normal View History

2019-09-02 23:42:25 +01:00
{ stdenv, fetchFromGitHub, autoreconfHook, flex, libtool }:
2017-12-29 20:55:42 +00:00
stdenv.mkDerivation rec {
pname = "miller";
2017-12-29 20:55:42 +00:00
2020-08-11 08:27:59 +01:00
version = "5.8.0";
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-08-11 08:27:59 +01:00
sha256 = "06y1l730xps196jbnxahmd5alc9ba5m8hakm9sc8hx1q5b9ylfih";
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;
};
}