simplotask: modernize

This commit is contained in:
Nikolay Korotkiy 2025-07-08 23:47:42 +04:00
parent 758d0e6801
commit 35db36463f
No known key found for this signature in database
GPG Key ID: D1DE6D7F693663A5

View File

@ -5,14 +5,14 @@
installShellFiles,
}:
buildGoModule rec {
buildGoModule (finalAttrs: {
pname = "simplotask";
version = "1.17.2";
src = fetchFromGitHub {
owner = "umputun";
repo = "spot";
rev = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-7EavT4IHEAe3nq6tkhX7qHpDzy7UTdBMZ7x/bquv4Z8=";
};
@ -22,7 +22,7 @@ buildGoModule rec {
ldflags = [
"-s -w"
"-X main.revision=v${version}"
"-X main.revision=v${finalAttrs.version}"
];
doCheck = false;
@ -32,11 +32,11 @@ buildGoModule rec {
installManPage *.1
'';
meta = with lib; {
meta = {
description = "Tool for effortless deployment and configuration management";
homepage = "https://spot.umputun.dev/";
maintainers = with maintainers; [ sikmir ];
license = licenses.mit;
maintainers = with lib.maintainers; [ sikmir ];
license = lib.licenses.mit;
mainProgram = "spot";
};
}
})