From 9456c9425607e7447fea9ab7ae40ec72ad899991 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 30 Apr 2024 08:39:39 +0200 Subject: [PATCH] trickest-cli: init at 1.7.5 CLI tool to execute Trickest workflows https://github.com/trickest/trickest-cli --- pkgs/by-name/tr/trickest-cli/package.nix | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pkgs/by-name/tr/trickest-cli/package.nix diff --git a/pkgs/by-name/tr/trickest-cli/package.nix b/pkgs/by-name/tr/trickest-cli/package.nix new file mode 100644 index 000000000000..228dccf4ad41 --- /dev/null +++ b/pkgs/by-name/tr/trickest-cli/package.nix @@ -0,0 +1,33 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: + +buildGoModule rec { + pname = "trickest-cli"; + version = "1.7.5"; + + src = fetchFromGitHub { + owner = "trickest"; + repo = "trickest-cli"; + rev = "refs/tags/v${version}"; + hash = "sha256-erPcb+cHCAmhPGwfu+g0yyAFx252+tpIOFQiUBuPUcs="; + }; + + 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"; + }; +}