gowall: 0.2.0 > 0.2.1

This commit is contained in:
FKouhai
2025-04-22 22:07:03 +02:00
parent 3b4ccc9490
commit a78b73aefd

View File

@@ -4,22 +4,28 @@
buildGoModule,
fetchFromGitHub,
installShellFiles,
nix-update-script,
writableTmpDirAsHomeHook,
}:
buildGoModule rec {
pname = "gowall";
version = "0.2.0";
version = "0.2.1";
src = fetchFromGitHub {
owner = "Achno";
repo = "gowall";
rev = "v${version}";
hash = "sha256-QKukWA8TB0FoNHu0Wyco55x4oBY+E33qdoT/SaXW6DE=";
hash = "sha256-fgO4AoyHR51zD86h75b06BXV0ONlFfHdBvxfJvcD7J8=";
};
vendorHash = "sha256-H2Io1K2LEFmEPJYVcEaVAK2ieBrkV6u+uX82XOvNXj4=";
vendorHash = "sha256-V/VkbJZIzy4KlEPtlTTqdUIPG6lKD+XidNM0NWpATbk=";
nativeBuildInputs = [ installShellFiles ];
nativeBuildInputs = [
installShellFiles
# using writableTmpDirAsHomeHook to prevent issues when creating config dir for shell completions
writableTmpDirAsHomeHook
];
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd gowall \
--bash <($out/bin/gowall completion bash) \
@@ -27,6 +33,8 @@ buildGoModule rec {
--zsh <($out/bin/gowall completion zsh)
'';
passthru.updateScript = nix-update-script { };
meta = {
changelog = "https://github.com/Achno/gowall/releases/tag/v${version}";
description = "Tool to convert a Wallpaper's color scheme / palette";
@@ -36,6 +44,7 @@ buildGoModule rec {
maintainers = with lib.maintainers; [
crem
emilytrau
FKouhai
];
};
}