blob: 250c094d30168d261ea44a61f1c3af4acbb25468 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ 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;
};
}
|