(define-module (ruther packages qt)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (gnu packages xorg)
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages qt)
#:use-module (guix build-system cmake)
#:use-module (guix build-system qt)
#:use-module (guix download)
#:use-module (guix git-download))
(define-public spotify-qt
(package
(name "spotify-qt")
(version "3.11")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/kraxarn/spotify-qt")
(commit (string-append "v" version))))
(sha256
(base32 "0n59hsd4r4s88db1yskxarqpkrdsx7dldi1a4nrn8r2qgcn88vqf"))))
(inputs
(list libxcb qtbase qtsvg))
(build-system qt-build-system)
(arguments
`(#:tests? #f
#:qtbase ,qtbase))
(synopsis "Lightweight Spotify client using Qt ")
(description "An unofficial Spotify client using Qt as a simpler,
lighter alternative to the official client.
Please note that you need an actual Spotify client running,
for example librespot, which can be configured from within the app.")
(license license:gpl3)
(home-page "https://github.com/kraxarn/spotify-qt")))
(define-public spotify-qt-wayland
(package/inherit spotify-qt
(name "spotify-qt-wayland")
(inputs (modify-inputs
(package-inputs spotify-qt)
(append qtwayland)))))