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" ];
description = "spotifyd, a Spotify playing daemon";
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";
RestartSec = 12;
DynamicUser = true;

View file

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

View file

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