simplotask: modernize
This commit is contained in:
parent
758d0e6801
commit
35db36463f
@ -5,14 +5,14 @@
|
|||||||
installShellFiles,
|
installShellFiles,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule (finalAttrs: {
|
||||||
pname = "simplotask";
|
pname = "simplotask";
|
||||||
version = "1.17.2";
|
version = "1.17.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "umputun";
|
owner = "umputun";
|
||||||
repo = "spot";
|
repo = "spot";
|
||||||
rev = "v${version}";
|
tag = "v${finalAttrs.version}";
|
||||||
hash = "sha256-7EavT4IHEAe3nq6tkhX7qHpDzy7UTdBMZ7x/bquv4Z8=";
|
hash = "sha256-7EavT4IHEAe3nq6tkhX7qHpDzy7UTdBMZ7x/bquv4Z8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -22,7 +22,7 @@ buildGoModule rec {
|
|||||||
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
"-s -w"
|
"-s -w"
|
||||||
"-X main.revision=v${version}"
|
"-X main.revision=v${finalAttrs.version}"
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
@ -32,11 +32,11 @@ buildGoModule rec {
|
|||||||
installManPage *.1
|
installManPage *.1
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Tool for effortless deployment and configuration management";
|
description = "Tool for effortless deployment and configuration management";
|
||||||
homepage = "https://spot.umputun.dev/";
|
homepage = "https://spot.umputun.dev/";
|
||||||
maintainers = with maintainers; [ sikmir ];
|
maintainers = with lib.maintainers; [ sikmir ];
|
||||||
license = licenses.mit;
|
license = lib.licenses.mit;
|
||||||
mainProgram = "spot";
|
mainProgram = "spot";
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user