nixpkgs/pkgs/by-name/tr/trickest-cli/package.nix
2024-08-07 05:15:51 +00:00

33 lines
745 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "trickest-cli";
version = "1.8.2";
src = fetchFromGitHub {
owner = "trickest";
repo = "trickest-cli";
rev = "refs/tags/v${version}";
hash = "sha256-X7JGzTaTm7CE5+mTvnV93d5Hx2A1vF+aufmC5/xWRtc=";
};
vendorHash = "sha256-gk8YMMvTHBL7yoXU9n0jhtUS472fqLW5m+mSl4Lio6c=";
ldflags = [
"-s"
"-w"
];
meta = with lib; {
description = "CLI tool to execute Trickest workflows";
homepage = "https://github.com/trickest/trickest-cli";
changelog = "https://github.com/trickest/trickest-cli/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
mainProgram = "trickest";
};
}