Merge pull request #287212 from Aleksanaa/netease-cloud-music-gtk

netease-cloud-music-gtk: 2.2.0 -> 2.3.0
This commit is contained in:
Weijia Wang 2024-02-08 20:35:15 +01:00 committed by GitHub
commit d99fe722a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1194 additions and 538 deletions

View File

@ -16,26 +16,26 @@
, openssl
, dbus
, libadwaita
, glib-networking
, gst_all_1
, Foundation
, SystemConfiguration
, libsoup_3
}:
stdenv.mkDerivation rec {
pname = "netease-cloud-music-gtk";
version = "2.2.0";
version = "2.3.0";
src = fetchFromGitHub {
owner = "gmg137";
repo = pname;
rev = version;
hash = "sha256-9qUzRmm3WQEVjzhzHMT1vNw3r3ymWGlBWXnnPsYGSnk=";
hash = "sha256-/HvP82QqN+dWb5XJelsayeo4sz/pVvCKQ9RKQJv7PAI=";
};
cargoDeps = rustPlatform.importCargoLock {
lockFile = ./Cargo.lock;
outputHashes = {
"netease-cloud-music-api-1.2.0" = "sha256-MR1yVPrNzhZC65mQen88t7NbLfRcoWvT6DMSLGCMeTY=";
"netease-cloud-music-api-1.3.0" = "sha256-SzMu+klhcLi+jDYc9RZUWrBph5TjfddV0STHaijuQ8Q=";
};
};
@ -62,22 +62,26 @@ stdenv.mkDerivation rec {
openssl
dbus
libadwaita
glib-networking
] ++ (with gst_all_1; [
gstreamer
gst-plugins-base
gst-plugins-good
gst-plugins-bad
gst-plugins-ugly
]) ++ lib.optionals stdenv.isDarwin [
Foundation
SystemConfiguration
];
]);
# FIXME: gst-plugins-good missing libsoup breaks streaming
# (https://github.com/nixos/nixpkgs/issues/271960)
preFixup = ''
gappsWrapperArgs+=(--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libsoup_3 ]}")
'';
meta = with lib; {
description = "A Rust + GTK based netease cloud music player";
homepage = "https://github.com/gmg137/netease-cloud-music-gtk";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ diffumist ];
maintainers = with maintainers; [ diffumist aleksana ];
mainProgram = "netease-cloud-music-gtk4";
platforms = platforms.linux;
};

View File

@ -29564,10 +29564,6 @@ with pkgs;
netease-music-tui = callPackage ../applications/audio/netease-music-tui { };
netease-cloud-music-gtk = callPackage ../applications/audio/netease-cloud-music-gtk {
inherit (darwin.apple_sdk.frameworks) Foundation SystemConfiguration;
};
nordic = libsForQt5.callPackage ../data/themes/nordic { };
nordzy-cursor-theme = callPackage ../data/icons/nordzy-cursor-theme { };