Files
2026-07-15 08:47:34 +00:00

44 lines
871 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
installShellFiles,
}:
buildGoModule (finalAttrs: {
pname = "simplotask";
version = "1.20.1";
src = fetchFromGitHub {
owner = "umputun";
repo = "spot";
tag = "v${finalAttrs.version}";
hash = "sha256-VZXtteRXzjxXtAOYXZHBXknOyegbaCAPPXyRtig3PIs=";
};
vendorHash = null;
nativeBuildInputs = [ installShellFiles ];
ldflags = [
"-s -w"
"-X main.revision=v${finalAttrs.version}"
];
doCheck = false;
postInstall = ''
mv $out/bin/{secrets,spot-secrets}
installManPage *.1
installShellCompletion completions/*
'';
meta = {
description = "Tool for effortless deployment and configuration management";
homepage = "https://spot.umputun.dev/";
maintainers = with lib.maintainers; [ sikmir ];
license = lib.licenses.mit;
mainProgram = "spot";
};
})