gnu: spotifyd: Update to 0.4.1.

* gnu/packages/rust-apps.scm (spotifyd): Update to 0.4.1.
[inputs]: Use ‘cargo-inputs’.
[arguments]: Remove #:cargo-inputs and #:cargo-development-inputs.
<#:features>: Enable "dbus_mpris".
Remove "dbus_keyring" that is no longer available.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs)[spotifyd]: New entry.

Change-Id: I1dc279d59c2a860bd99c11ace2bd7fdd7f5f6f2c
This commit is contained in:
Hilton Chain 2025-04-21 19:16:57 +08:00
parent 1c0e389489
commit e98ce4d2fc
No known key found for this signature in database
GPG key ID: ACC66D09CA528292
2 changed files with 720 additions and 37 deletions

View file

@ -3083,55 +3083,23 @@ common-sense defaults.")
(define-public spotifyd
(package
(name "spotifyd")
(version "0.3.5")
(version "0.4.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "spotifyd" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1g6k8xmx8xvc2dpak14y8cc2221djhdflzsjczygvqa9gk5jiadd"))))
(base32 "1m0z1q35by9wskjy2imnf8g8liy4g2ljyd69z6fryvvw64j0qzd6"))))
(build-system cargo-build-system)
(arguments
`(#:install-source? #f
#:cargo-inputs (("rust-alsa" ,rust-alsa-0.7)
("rust-chrono" ,rust-chrono-0.4)
("rust-color-eyre" ,rust-color-eyre-0.6)
("rust-daemonize" ,rust-daemonize-0.5)
("rust-dbus" ,rust-dbus-0.9)
("rust-dbus-crossroads" ,rust-dbus-crossroads-0.5)
("rust-dbus-tokio" ,rust-dbus-tokio-0.7)
("rust-fern" ,rust-fern-0.6)
("rust-futures" ,rust-futures-0.3)
("rust-gethostname" ,rust-gethostname-0.4)
("rust-hex" ,rust-hex-0.4)
("rust-keyring" ,rust-keyring-2)
("rust-libc" ,rust-libc-0.2)
("rust-librespot-audio" ,rust-librespot-audio-0.4)
("rust-librespot-connect" ,rust-librespot-connect-0.4)
("rust-librespot-core" ,rust-librespot-core-0.4)
("rust-librespot-discovery" ,rust-librespot-discovery-0.4)
("rust-librespot-playback" ,rust-librespot-playback-0.4)
("rust-log" ,rust-log-0.4)
("rust-rspotify" ,rust-rspotify-0.11)
("rust-serde" ,rust-serde-1)
("rust-sha-1" ,rust-sha-1-0.10)
("rust-structopt" ,rust-structopt-0.3)
("rust-syslog" ,rust-syslog-6)
("rust-tokio" ,rust-tokio-1)
("rust-tokio-stream" ,rust-tokio-stream-0.1)
("rust-toml" ,rust-toml-0.7)
("rust-url" ,rust-url-2)
("rust-whoami" ,rust-whoami-1)
("rust-xdg" ,rust-xdg-2))
#:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.10))
#:features (list "alsa_backend"
"dbus_keyring"
;"dbus_mpris" ; Conflicts with rust-chrono-0.4 version.
"dbus_mpris"
"pulseaudio_backend"
"rodio_backend")))
(native-inputs (list pkg-config))
(inputs (list alsa-lib dbus pulseaudio))
(inputs (cons* alsa-lib dbus pulseaudio (cargo-inputs 'spotifyd)))
(home-page "https://github.com/Spotifyd/spotifyd")
(synopsis "Spotify streaming daemon with Spotify Connect support")
(description