nixpkgs-suyu/pkgs/tools/text/miller/default.nix
2019-09-23 15:06:30 +02:00

24 lines
681 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, flex, libtool }:
stdenv.mkDerivation rec {
pname = "miller";
version = "5.6.2";
src = fetchFromGitHub {
owner = "johnkerl";
repo = "miller";
rev = "v${version}";
sha256 = "1xajaab02y9bysanfn4i5c77q1zfmjzdswyvw2mzbidsxnjsgn6l";
};
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;
};
}