Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
28 lines
680 B
Nix
28 lines
680 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "spacectl";
|
|
version = "1.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "spacelift-io";
|
|
repo = "spacectl";
|
|
rev = "v${version}";
|
|
hash = "sha256-pO+jYuCyP6YrU9vE3//O0EyTDXYQ1WSpFI/8WbneDCA=";
|
|
};
|
|
|
|
vendorHash = "sha256-SYfXG6YM0Q2rCnoTM2tYvE17uBCD8yQiW/5DTCxMPWo=";
|
|
|
|
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";
|
|
};
|
|
}
|