simplotask: modernize
This commit is contained in:
parent
758d0e6801
commit
35db36463f
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user