From 2cc910e4005c537d1b056435fbbe0222ba05c4bb Mon Sep 17 00:00:00 2001 From: Steve Purcell Date: Fri, 13 Mar 2026 08:16:12 +0000 Subject: [PATCH] lstk: init at 0.5.7 --- pkgs/by-name/ls/lstk/package.nix | 42 ++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 pkgs/by-name/ls/lstk/package.nix diff --git a/pkgs/by-name/ls/lstk/package.nix b/pkgs/by-name/ls/lstk/package.nix new file mode 100644 index 000000000000..9b5a4c84e820 --- /dev/null +++ b/pkgs/by-name/ls/lstk/package.nix @@ -0,0 +1,42 @@ +{ + fetchFromGitHub, + buildGoModule, + lib, + nix-update-script, +}: +buildGoModule (finalAttrs: { + pname = "lstk"; + version = "0.5.7"; + + __structuredAttrs = true; + + src = fetchFromGitHub { + owner = "localstack"; + repo = "lstk"; + tag = "v${finalAttrs.version}"; + sha256 = "sha256-HWkCDnbg/D2zX3rdvmFTdKrx03SO6FaiA/Pzj0f4hlA="; + }; + + vendorHash = "sha256-rEcVtSFnBQ+3bbU5pjbCXEJZo89+lL/1HJG9bCn8OSE="; + + excludedPackages = "test/integration"; + + __darwinAllowLocalNetworking = true; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "Command line interface for LocalStack"; + mainProgram = "lstk"; + homepage = "https://github.com/localstack/lstk"; + changelog = "https://github.com/localstack/lstk/releases/tag/v${finalAttrs.version}"; + longDescription = '' + lstk is a command-line interface for LocalStack built in Go with a modern + terminal Ul, and native CLI experience for managing and interacting with + LocalStack deployments. + ''; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ purcell ]; + platforms = lib.platforms.unix; + }; +})