Merge pull request #325421 from 71zenith/master

spotify-player: 0.18.2 -> 0.19.1
This commit is contained in:
Franz Pletz 2024-07-09 15:45:48 +02:00 committed by GitHub
commit 8d30dda9e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 5 deletions

View File

@ -227,6 +227,12 @@
githubId = 12578560; githubId = 12578560;
name = "Quinn Bohner"; name = "Quinn Bohner";
}; };
_71zenith = {
email = "71zenith@proton.me";
github = "71zenith";
githubId = 92977828;
name = "Mori Zen";
};
_8aed = { _8aed = {
email = "8aed@riseup.net"; email = "8aed@riseup.net";
github = "8aed"; github = "8aed";

View File

@ -24,6 +24,7 @@
, withImage ? true , withImage ? true
, withNotify ? true , withNotify ? true
, withSixel ? true , withSixel ? true
, withFuzzy ? true
, stdenv , stdenv
, darwin , darwin
, makeBinaryWrapper , makeBinaryWrapper
@ -33,16 +34,16 @@ assert lib.assertOneOf "withAudioBackend" withAudioBackend [ "" "alsa" "pulseaud
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "spotify-player"; pname = "spotify-player";
version = "0.18.2"; version = "0.19.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "aome510"; owner = "aome510";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-bLUPQgqSsE9tF5YiFj5B+Ylyy96DhWFNjwqXbQ9H8uc="; hash = "sha256-R8F7s8FPnCe+shNUN/u0qcxFy3IbyfVo2xZ5/E/qwaw=";
}; };
cargoHash = "sha256-rptGA7J63rHdmxuPIguhZYYs8tZbpidJ0fXroBBoEIM="; cargoHash = "sha256-7vximGisIIXBrwHXSWQjO08OraaweG7ZT6v+gVdYGVc=";
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
@ -83,7 +84,8 @@ rustPlatform.buildRustPackage rec {
++ lib.optionals withDaemon [ "daemon" ] ++ lib.optionals withDaemon [ "daemon" ]
++ lib.optionals withNotify [ "notify" ] ++ lib.optionals withNotify [ "notify" ]
++ lib.optionals withStreaming [ "streaming" ] ++ lib.optionals withStreaming [ "streaming" ]
++ lib.optionals withSixel [ "sixel" ]; ++ lib.optionals withSixel [ "sixel" ]
++ lib.optionals withFuzzy [ "fzf" ];
# sixel-sys is dynamically linked to libsixel # sixel-sys is dynamically linked to libsixel
postInstall = lib.optionals (stdenv.isDarwin && withSixel) '' postInstall = lib.optionals (stdenv.isDarwin && withSixel) ''
@ -97,6 +99,6 @@ rustPlatform.buildRustPackage rec {
changelog = "https://github.com/aome510/spotify-player/releases/tag/v${version}"; changelog = "https://github.com/aome510/spotify-player/releases/tag/v${version}";
mainProgram = "spotify_player"; mainProgram = "spotify_player";
license = lib.licenses.mit; license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dit7ya xyven1 ]; maintainers = with lib.maintainers; [ dit7ya xyven1 _71zenith ];
}; };
} }