Merge pull request #69193 from marsam/update-spotifyd

spotifyd: 0.2.11 -> 0.2.14
This commit is contained in:
Mario Rodas 2019-09-21 17:39:35 -05:00 committed by GitHub
commit c1fe83d61c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 6 deletions

View File

@ -28,7 +28,7 @@ in
after = [ "network-online.target" "sound.target" ]; after = [ "network-online.target" "sound.target" ];
description = "spotifyd, a Spotify playing daemon"; description = "spotifyd, a Spotify playing daemon";
serviceConfig = { serviceConfig = {
ExecStart = "${pkgs.spotifyd}/bin/spotifyd --no-daemon --cache_path /var/cache/spotifyd --config ${spotifydConf}"; ExecStart = "${pkgs.spotifyd}/bin/spotifyd --no-daemon --cache-path /var/cache/spotifyd --config-path ${spotifydConf}";
Restart = "always"; Restart = "always";
RestartSec = 12; RestartSec = 12;
DynamicUser = true; DynamicUser = true;

View File

@ -6,16 +6,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "spotifyd"; pname = "spotifyd";
version = "0.2.11"; version = "0.2.14";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Spotifyd"; owner = "Spotifyd";
repo = "spotifyd"; repo = "spotifyd";
rev = version; rev = "v${version}";
sha256 = "1iybk9xrrvhrcl2xl5r2xhyn1ydhrgwnnb8ldhsw5c16b32z03q1"; sha256 = "1hbcyc5rdrvdnvvsgaykqamq4i0yq8wqq5qjp6zjf4jlaxxif4nz";
}; };
cargoSha256 = "1dzg4sb95ixjfhx6n4w2rgrq4481vw01nsdrbm746mz7nm71csk3"; cargoSha256 = "15gd8shg0mn4vsma2hckj6w8gkwr58iniyfw1vjrh4clw4x7ibb4";
cargoBuildFlags = [ cargoBuildFlags = [
"--no-default-features" "--no-default-features"
@ -30,6 +30,8 @@ rustPlatform.buildRustPackage rec {
++ stdenv.lib.optional withPulseAudio libpulseaudio ++ stdenv.lib.optional withPulseAudio libpulseaudio
++ stdenv.lib.optional withPortAudio portaudio; ++ stdenv.lib.optional withPortAudio portaudio;
doCheck = false;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "An open source Spotify client running as a UNIX daemon"; description = "An open source Spotify client running as a UNIX daemon";
homepage = "https://github.com/Spotifyd/spotifyd"; homepage = "https://github.com/Spotifyd/spotifyd";

View File

@ -18735,7 +18735,7 @@ in
spotifyd = callPackage ../applications/audio/spotifyd { spotifyd = callPackage ../applications/audio/spotifyd {
withALSA = stdenv.isLinux; withALSA = stdenv.isLinux;
withPulseAudio = config.pulseaudio or true; withPulseAudio = config.pulseaudio or stdenv.isLinux;
withPortAudio = stdenv.isDarwin; withPortAudio = stdenv.isDarwin;
}; };