blob: 06e055d91820471289e3cc71ce8d58bb3c05b0a9 (
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
27
28
29
30
31
32
33
34
|
{ lib
, stdenv
, fetchFromGitHub
, buildGoModule
, testers
, zq
}:
buildGoModule rec {
pname = "zq";
version = "1.3.0";
src = fetchFromGitHub {
owner = "brimdata";
repo = "zed";
rev = "v${version}";
hash = "sha256-DVQoWam5szELJ3OeIKHYF0CBZ0AJlhuIJRrdhqmyhQM=";
};
vendorSha256 = "sha256-2zSSjAoeb+7Nk/dxpvp5P2/bSJXgkA0TieTQHK4ym1Y=";
subPackages = [ "cmd/zq" ];
ldflags = [ "-s" "-X" "github.com/brimdata/zed/cli.Version=${version}" ];
passthru.tests = testers.testVersion { package = zq; };
meta = with lib; {
description = "A command-line tool for processing data in diverse input formats, providing search, analytics, and extensive transformations using the Zed language";
homepage = "https://zed.brimdata.io";
license = licenses.bsd3;
maintainers = with maintainers; [ knl ];
};
}
|