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:
commit
d99fe722a9
File diff suppressed because it is too large
Load Diff
|
@ -16,26 +16,26 @@
|
||||||
, openssl
|
, openssl
|
||||||
, dbus
|
, dbus
|
||||||
, libadwaita
|
, libadwaita
|
||||||
|
, glib-networking
|
||||||
, gst_all_1
|
, gst_all_1
|
||||||
, Foundation
|
, libsoup_3
|
||||||
, SystemConfiguration
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "netease-cloud-music-gtk";
|
pname = "netease-cloud-music-gtk";
|
||||||
version = "2.2.0";
|
version = "2.3.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "gmg137";
|
owner = "gmg137";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-9qUzRmm3WQEVjzhzHMT1vNw3r3ymWGlBWXnnPsYGSnk=";
|
hash = "sha256-/HvP82QqN+dWb5XJelsayeo4sz/pVvCKQ9RKQJv7PAI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoDeps = rustPlatform.importCargoLock {
|
cargoDeps = rustPlatform.importCargoLock {
|
||||||
lockFile = ./Cargo.lock;
|
lockFile = ./Cargo.lock;
|
||||||
outputHashes = {
|
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
|
openssl
|
||||||
dbus
|
dbus
|
||||||
libadwaita
|
libadwaita
|
||||||
|
glib-networking
|
||||||
] ++ (with gst_all_1; [
|
] ++ (with gst_all_1; [
|
||||||
gstreamer
|
gstreamer
|
||||||
gst-plugins-base
|
gst-plugins-base
|
||||||
gst-plugins-good
|
gst-plugins-good
|
||||||
gst-plugins-bad
|
gst-plugins-bad
|
||||||
gst-plugins-ugly
|
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; {
|
meta = with lib; {
|
||||||
description = "A Rust + GTK based netease cloud music player";
|
description = "A Rust + GTK based netease cloud music player";
|
||||||
homepage = "https://github.com/gmg137/netease-cloud-music-gtk";
|
homepage = "https://github.com/gmg137/netease-cloud-music-gtk";
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [ diffumist ];
|
maintainers = with maintainers; [ diffumist aleksana ];
|
||||||
mainProgram = "netease-cloud-music-gtk4";
|
mainProgram = "netease-cloud-music-gtk4";
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
|
@ -29564,10 +29564,6 @@ with pkgs;
|
||||||
|
|
||||||
netease-music-tui = callPackage ../applications/audio/netease-music-tui { };
|
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 { };
|
nordic = libsForQt5.callPackage ../data/themes/nordic { };
|
||||||
|
|
||||||
nordzy-cursor-theme = callPackage ../data/icons/nordzy-cursor-theme { };
|
nordzy-cursor-theme = callPackage ../data/icons/nordzy-cursor-theme { };
|
||||||
|
|
Loading…
Reference in New Issue
Block a user