waybar-lyric: 0.12.2 -> 0.14.3 (#472931)
This commit is contained in:
@@ -18159,6 +18159,12 @@
|
||||
github = "nadiaholmquist";
|
||||
githubId = 893884;
|
||||
};
|
||||
Nadim147c = {
|
||||
email = "theephemeral.txt@gmail.com";
|
||||
github = "Nadim147c";
|
||||
githubId = 90786729;
|
||||
name = "Ephemeral";
|
||||
};
|
||||
nadir-ishiguro = {
|
||||
github = "nadir-ishiguro";
|
||||
githubId = 23151917;
|
||||
|
||||
@@ -1,22 +1,38 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
installShellFiles,
|
||||
}:
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "waybar-lyric";
|
||||
version = "0.12.2";
|
||||
version = "0.14.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Nadim147c";
|
||||
repo = "waybar-lyric";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-2iuMlcKDnhRc3PZNMjhkHElEyVdx8+p+ONHn8lC4dQ0=";
|
||||
hash = "sha256-bpc0AF/PcdmkVr791uT2PxgV59wTAAtFMFtKHKwtkQI=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-JpAlpTHPxPWHBCeegnUVYsM9LjUCuvfFd0JjQpCccaM=";
|
||||
vendorHash = "sha256-TeAZDSiww9/v3uQl8THJZdN/Ffp+FsZ3TsRStE3ndKA=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X main.Version=${finalAttrs.version}"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||
installShellCompletion --cmd waybar-lyric \
|
||||
--bash <($out/bin/waybar-lyric _carapace bash) \
|
||||
--fish <($out/bin/waybar-lyric _carapace fish) \
|
||||
--zsh <($out/bin/waybar-lyric _carapace zsh)
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
@@ -34,7 +50,10 @@ buildGoModule (finalAttrs: {
|
||||
homepage = "https://github.com/Nadim147c/waybar-lyric";
|
||||
license = lib.licenses.agpl3Only;
|
||||
mainProgram = "waybar-lyric";
|
||||
maintainers = with lib.maintainers; [ vanadium5000 ];
|
||||
maintainers = with lib.maintainers; [
|
||||
Nadim147c
|
||||
vanadium5000
|
||||
];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user