From bccc72930ffc04edc27788a1c8c7cd5d9bfc9caa Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Thu, 20 Apr 2023 04:20:00 +0000 Subject: [PATCH] spotifyd: 0.3.4 -> 0.3.5 https://github.com/Spotifyd/spotifyd/releases/tag/v0.3.5 --- pkgs/applications/audio/spotifyd/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/audio/spotifyd/default.nix b/pkgs/applications/audio/spotifyd/default.nix index 274b054955b7..d0a77ab06497 100644 --- a/pkgs/applications/audio/spotifyd/default.nix +++ b/pkgs/applications/audio/spotifyd/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchFromGitHub, rustPackages, pkg-config, openssl +{ lib, stdenv, fetchFromGitHub, rustPackages, pkg-config, openssl , withALSA ? true, alsa-lib , withPulseAudio ? false, libpulseaudio , withPortAudio ? false, portaudio @@ -9,20 +9,20 @@ rustPackages.rustPlatform.buildRustPackage rec { pname = "spotifyd"; - version = "0.3.4"; + version = "0.3.5"; src = fetchFromGitHub { owner = "Spotifyd"; repo = "spotifyd"; rev = "v${version}"; - sha256 = "sha256-9zwHBDrdvE2R/cdrWgjsfHlm3wEZ9SB2VNcqezB/Op0="; + hash = "sha256-+P85FWJIsfAv8/DnQFxfoWvNY8NpbZ2xUidfwN8tiA8="; }; - cargoSha256 = "sha256-fQm7imXpm5AcKdg0cU/Rf2mAeg2ebZKRisJZSnG0REI="; + cargoHash = "sha256-j+2yEtn3D+vNRcY4+NnqSX4xRQIE5Sq7bentxTh6kMI="; nativeBuildInputs = [ pkg-config ]; - buildInputs = [ openssl ] + buildInputs = lib.optionals stdenv.isLinux [ openssl ] ++ lib.optional withALSA alsa-lib ++ lib.optional withPulseAudio libpulseaudio ++ lib.optional withPortAudio portaudio @@ -39,7 +39,7 @@ rustPackages.rustPlatform.buildRustPackage rec { meta = with lib; { description = "An open source Spotify client running as a UNIX daemon"; - homepage = "https://github.com/Spotifyd/spotifyd"; + homepage = "https://spotifyd.rs/"; changelog = "https://github.com/Spotifyd/spotifyd/raw/v${version}/CHANGELOG.md"; license = licenses.gpl3Plus; maintainers = with maintainers; [ anderslundstedt Br1ght0ne marsam ];