waybar-lyric: init at 0.10.0 (#422096)
This commit is contained in:
commit
121f8a1daf
@ -26318,6 +26318,12 @@
|
||||
githubId = 223408;
|
||||
name = "Varun Madiath";
|
||||
};
|
||||
vanadium5000 = {
|
||||
email = "vanadium5000@gmail.com";
|
||||
github = "Vanadium5000";
|
||||
githubId = 151467774;
|
||||
name = "Vanadium5000";
|
||||
};
|
||||
vancluever = {
|
||||
email = "chrism@vancluevertech.com";
|
||||
github = "vancluever";
|
||||
|
||||
40
pkgs/by-name/wa/waybar-lyric/package.nix
Normal file
40
pkgs/by-name/wa/waybar-lyric/package.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "waybar-lyric";
|
||||
version = "0.10.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Nadim147c";
|
||||
repo = "waybar-lyric";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-RqUaak9MH7lE1ez8T+UKm2Eqk0ImePPubfFExNpZqM8=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-DBtSC+ePl6dvHqB10FyeojnYoT3mmsWAnbs/lZLibl8=";
|
||||
|
||||
doInstallCheck = true;
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
versionCheckProgramArg = "--version";
|
||||
versionCheckKeepEnvironment = [ "XDG_CACHE_HOME" ];
|
||||
preInstallCheck = ''
|
||||
# ERROR Failed to find cache directory
|
||||
export XDG_CACHE_HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Waybar module for displaying song lyrics";
|
||||
homepage = "https://github.com/Nadim147c/waybar-lyric";
|
||||
license = lib.licenses.agpl3Only;
|
||||
mainProgram = "waybar-lyric";
|
||||
maintainers = with lib.maintainers; [ vanadium5000 ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
||||
Loading…
x
Reference in New Issue
Block a user