2023-07-15 17:15:38 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "simplotask";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "1.16.0";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "umputun";
|
|
|
|
repo = "spot";
|
|
|
|
rev = "v${version}";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-VnQIg5HXZZwvYpaYDF1CIphLtE4S+1zADE1WnicXOSQ=";
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
vendorHash = null;
|
|
|
|
|
|
|
|
nativeBuildInputs = [ installShellFiles ];
|
|
|
|
|
|
|
|
ldflags = [
|
|
|
|
"-s -w"
|
|
|
|
"-X main.revision=v${version}"
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mv $out/bin/{secrets,spot-secrets}
|
|
|
|
installManPage *.1
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Tool for effortless deployment and configuration management";
|
2024-01-02 11:29:13 +00:00
|
|
|
homepage = "https://spot.umputun.dev/";
|
2023-07-15 17:15:38 +00:00
|
|
|
maintainers = with maintainers; [ sikmir ];
|
|
|
|
license = licenses.mit;
|
|
|
|
mainProgram = "spot";
|
|
|
|
};
|
|
|
|
}
|