Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
43 lines
830 B
Nix
43 lines
830 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
installShellFiles,
|
|
}:
|
|
|
|
buildGoModule (finalAttrs: {
|
|
pname = "simplotask";
|
|
version = "1.19.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "umputun";
|
|
repo = "spot";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-Zu7GkvNVhf6TeZg2AVH8GTi5ORK5aUspSvB1ThOBwTo=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
nativeBuildInputs = [ installShellFiles ];
|
|
|
|
ldflags = [
|
|
"-s -w"
|
|
"-X main.revision=v${finalAttrs.version}"
|
|
];
|
|
|
|
doCheck = false;
|
|
|
|
postInstall = ''
|
|
mv $out/bin/{secrets,spot-secrets}
|
|
installManPage *.1
|
|
'';
|
|
|
|
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";
|
|
};
|
|
})
|