Merge pull request #317850 from SuperSandro2000/youtube-music

This commit is contained in:
Sandro 2024-06-10 13:03:47 +02:00 committed by GitHub
commit 7a1dd3ad11
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 5 deletions

View File

@ -12,18 +12,18 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "youtube-music"; pname = "youtube-music";
version = "3.3.6"; version = "3.3.12";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "th-ch"; owner = "th-ch";
repo = "youtube-music"; repo = "youtube-music";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-nxpctEG4XoxW6jOAxGdgTEYr6YnhFRR8+5HUQLxRJB0="; hash = "sha256-kBGMp58086NQ77x1YGS5NewWfiDaXHOEbyflHPtdfIs=";
}; };
pnpmDeps = pnpm.fetchDeps { pnpmDeps = pnpm.fetchDeps {
inherit (finalAttrs) pname version src; inherit (finalAttrs) pname version src;
hash = "sha256-8oeloQYiwUy+GDG4R+XtiynT+8Fad4WYFWTO1KANZKQ="; hash = "sha256-t5omzz6y8lVFGAuhtc+HF5gwu4Ntt/dxml+nWysEpVs=";
}; };
nativeBuildInputs = [ makeWrapper python3 nodejs pnpm.configHook ] nativeBuildInputs = [ makeWrapper python3 nodejs pnpm.configHook ]
@ -87,8 +87,9 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; { meta = with lib; {
description = "Electron wrapper around YouTube Music"; description = "Electron wrapper around YouTube Music";
homepage = "https://th-ch.github.io/youtube-music/"; homepage = "https://th-ch.github.io/youtube-music/";
changelog = "https://github.com/th-ch/youtube-music/blob/master/changelog.md#${lib.replaceStrings ["."] [""] finalAttrs.src.rev}";
license = licenses.mit; license = licenses.mit;
maintainers = [ maintainers.aacebedo ]; maintainers = with maintainers; [ aacebedo SuperSandro2000 ];
mainProgram = "youtube-music"; mainProgram = "youtube-music";
platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
}; };

View File

@ -35807,7 +35807,9 @@ with pkgs;
youtube-dl-light = with python3Packages; toPythonApplication youtube-dl-light; youtube-dl-light = with python3Packages; toPythonApplication youtube-dl-light;
youtube-music = callPackage ../applications/audio/youtube-music { pnpm = pnpm_8; }; youtube-music = callPackage ../applications/audio/youtube-music {
pnpm = pnpm_9;
};
youtube-tui = callPackage ../applications/video/youtube-tui { youtube-tui = callPackage ../applications/video/youtube-tui {
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security AppKit; inherit (darwin.apple_sdk.frameworks) CoreFoundation Security AppKit;