mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
25 lines
681 B
Nix
25 lines
681 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, flex, libtool }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "miller";
|
|
|
|
version = "5.7.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "johnkerl";
|
|
repo = "miller";
|
|
rev = "v${version}";
|
|
sha256 = "1lmin69rf9lp3b64ga7li4sz7mm0gqapsbk1nb29l4fqjxk16ddh";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|