mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
pb: init at 0.1.0
This commit is contained in:
parent
020300a756
commit
11322c28c5
37
pkgs/tools/misc/pb/default.nix
Normal file
37
pkgs/tools/misc/pb/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, testers, pb }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "pb";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "parseablehq";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-MCWDCFW37OTy6Hd9pVem+gwKGdZ7htIXFbdUciqAjU8=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-WDBjAAaeKeMJOwX8w9PLq9Y8IX2o5yzH2o+MNFSgYc4=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X main.Version=${version}"
|
||||
];
|
||||
|
||||
tags = [ "kqueue" ];
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = pb;
|
||||
command = "pb version";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/parseablehq/pb";
|
||||
changelog = "https://github.com/parseablehq/pb/releases/tag/v${version}";
|
||||
description = "CLI client for Parseable server";
|
||||
license = licenses.agpl3;
|
||||
maintainers = with maintainers; [ aaronjheng ];
|
||||
mainProgram = "pb";
|
||||
};
|
||||
}
|
@ -34776,6 +34776,8 @@ with pkgs;
|
||||
|
||||
metal-cli = callPackage ../development/tools/metal-cli { };
|
||||
|
||||
pb = callPackage ../tools/misc/pb { };
|
||||
|
||||
pb_cli = callPackage ../tools/misc/pb_cli { };
|
||||
|
||||
capture = callPackage ../tools/misc/capture { };
|
||||
|
Loading…
Reference in New Issue
Block a user