From 19f017df5cafb4b1a5f823923737c079b2ad164d Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sun, 17 Jan 2021 04:20:00 +0000 Subject: [PATCH] spotifyd: 0.2.24 -> 0.3.0 https://github.com/Spotifyd/spotifyd/releases/tag/v0.3.0 --- pkgs/applications/audio/spotifyd/default.nix | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/audio/spotifyd/default.nix b/pkgs/applications/audio/spotifyd/default.nix index 4d52648a847c..84cb64d8cc90 100644 --- a/pkgs/applications/audio/spotifyd/default.nix +++ b/pkgs/applications/audio/spotifyd/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, rustPackages_1_45, pkgconfig, openssl +{ lib, fetchFromGitHub, rustPackages, pkgconfig, openssl , withALSA ? true, alsaLib ? null , withPulseAudio ? false, libpulseaudio ? null , withPortAudio ? false, portaudio ? null @@ -7,21 +7,18 @@ , dbus ? null }: -# rust >= 1.48 causes a panic within spotifyd on music playback. as long as -# there is no upstream fix for the issue we use an older version of rust. -# Upstream issue: https://github.com/Spotifyd/spotifyd/issues/719 -rustPackages_1_45.rustPlatform.buildRustPackage rec { +rustPackages.rustPlatform.buildRustPackage rec { pname = "spotifyd"; - version = "0.2.24"; + version = "0.3.0"; src = fetchFromGitHub { owner = "Spotifyd"; repo = "spotifyd"; rev = "v${version}"; - sha256 = "08i0zm7kgprixqjpgaxk7xid1njgj6lmi896jf9fsjqzdzlblqk8"; + sha256 = "055njhy9if4qpsbgbr6615xxhcx9plava1m4l323vi4dbw09wh5r"; }; - cargoSha256 = "0200apqbx769ggjnjr0m72g61ikhml2xak5n1il2pvfx1yf5nw0n"; + cargoSha256 = "1ijrl208607abjwpr3cajcbj6sr35bk6ik778a58zf28kzdhrawc"; cargoBuildFlags = [ "--no-default-features"