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

25 lines
669 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, flex, libtool }:
2017-12-29 21:55:42 +01:00
stdenv.mkDerivation rec {
pname = "miller";
2017-12-29 21:55:42 +01:00
2020-12-01 02:48:03 +01:00
version = "5.10.0";
2017-12-29 21:55:42 +01:00
2019-09-03 00:42:25 +02:00
src = fetchFromGitHub {
owner = "johnkerl";
repo = "miller";
rev = "v${version}";
2020-12-01 02:48:03 +01:00
sha256 = "02jqbxnchljyqnmlbxjaf5zpdi03gxapfy38dfikl5j4f7yyxvjs";
2017-12-29 21:55:42 +01:00
};
nativeBuildInputs = [ autoreconfHook flex libtool ];
meta = with lib; {
description = "Like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON";
2017-12-29 21:55:42 +01:00
homepage = "http://johnkerl.org/miller/";
license = licenses.bsd2;
maintainers = with maintainers; [ mstarzyk ];
platforms = platforms.all;
};
}