Merge pull request #170764 from knl/zq-init

zq: init at v1.2.0
This commit is contained in:
Christian Kögler 2022-08-19 09:24:45 +02:00 committed by GitHub
commit 7531e7a3f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ lib
, stdenv
, fetchFromGitHub
, buildGoModule
, testers
, zq
}:
buildGoModule rec {
pname = "zq";
version = "1.2.0";
src = fetchFromGitHub {
owner = "brimdata";
repo = "zed";
rev = "v${version}";
hash = "sha256-BK4LB37jr/9O0sjYgFtnEkbFqTsp/1+hcmCNMFDPiPM=";
};
vendorSha256 = "sha256-oAkQRUaEP/RNjpDH4U8XFVokf7KiLk0OWMX+U7qny70=";
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 ];
};
}

View File

@ -1365,6 +1365,8 @@ with pkgs;
breitbandmessung = callPackage ../applications/networking/breitbandmessung { };
zq = callPackage ../development/tools/zq { buildGoModule = buildGo118Module; };
### APPLICATIONS/EMULATORS
atari800 = callPackage ../applications/emulators/atari800 { };