dae973cb59
GitOrigin-RevId: c90c4025bb6e0c4eaf438128a3b2640314b1c58d
26 lines
736 B
Nix
26 lines
736 B
Nix
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
pname = "miller";
|
|
version = "6.7.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "johnkerl";
|
|
repo = "miller";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-fKgw4ii/riPTklEB+Q8/sOx2dCMS/kevyvXgpyFlkVs=";
|
|
};
|
|
|
|
vendorHash = "sha256-uZa9H7Tj2ynwl3fFY9U+WZ0FcNuvHRQf7RCW6rebm5g=";
|
|
|
|
subPackages = [ "cmd/mlr" ];
|
|
|
|
meta = with lib; {
|
|
description = "Like awk, sed, cut, join, and sort for data formats such as CSV, TSV, JSON, JSON Lines, and positionally-indexed";
|
|
homepage = "https://github.com/johnkerl/miller";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ mstarzyk ];
|
|
mainProgram = "mlr";
|
|
platforms = platforms.all;
|
|
};
|
|
}
|