From 0613c3f1cbafe410ff0ce6781e31baa58196ad2b Mon Sep 17 00:00:00 2001 From: kashw2 Date: Sat, 6 Jul 2024 22:38:30 +1000 Subject: [PATCH] spacectl: init at 1.0.1 --- pkgs/by-name/sp/spacectl/package.nix | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pkgs/by-name/sp/spacectl/package.nix diff --git a/pkgs/by-name/sp/spacectl/package.nix b/pkgs/by-name/sp/spacectl/package.nix new file mode 100644 index 000000000000..7afba8a8abd7 --- /dev/null +++ b/pkgs/by-name/sp/spacectl/package.nix @@ -0,0 +1,28 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: + +buildGoModule rec { + pname = "spacectl"; + version = "1.0.1"; + + src = fetchFromGitHub { + owner = "spacelift-io"; + repo = "spacectl"; + rev = "v${version}"; + hash = "sha256-w49nsPzEWfYeYxWNOl4VrWdQvL3zGafLxL5kUH4YaqM="; + }; + + vendorHash = "sha256-hVAQaM8Xank+l283D1Tq9TA/yiOiLGO7/3IyZkXj15Q="; + + meta = { + homepage = "https://github.com/spacelift-io/spacectl"; + description = "Spacelift client and CLI"; + changelog = "https://github.com/spacelift-io/spacectl/releases/tag/v${version}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ kashw2 ]; + mainProgram = "spacectl"; + }; +}