zed: set version, clean up
This commit is contained in:
parent
28116031e2
commit
0cb9271b71
@ -1,6 +1,8 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, testers
|
||||
, zed
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
@ -18,11 +20,27 @@ buildGoModule rec {
|
||||
|
||||
subPackages = [ "cmd/zed" "cmd/zq" ];
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X=github.com/brimdata/zed/cli.Version=${version}"
|
||||
];
|
||||
|
||||
passthru.tests = {
|
||||
zed-version = testers.testVersion {
|
||||
package = zed;
|
||||
};
|
||||
zq-version = testers.testVersion {
|
||||
package = zed;
|
||||
command = "zq --version";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "A novel data lake based on super-structured data";
|
||||
homepage = "https://github.com/brimdata/zed";
|
||||
homepage = "https://zed.brimdata.io";
|
||||
changelog = "https://github.com/brimdata/zed/blob/v${version}/CHANGELOG.md";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ dit7ya ];
|
||||
changelog = "https://github.com/brimdata/zed/blob/v${version}/CHANGELOG.md";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user