2021-04-02 21:32:32 +02:00
|
|
|
{ fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, cmake
|
|
|
|
, mkDerivation
|
|
|
|
, libxcb
|
|
|
|
, qtbase
|
|
|
|
, qtsvg
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "spotify-qt";
|
2024-04-15 01:04:03 +02:00
|
|
|
version = "3.11";
|
2021-04-02 21:32:32 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kraxarn";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-04-15 01:30:31 +02:00
|
|
|
sha256 = "sha256-Dm+ELHtYZGSzJSrERtvpuuV5cVZ9ah9WQ0iTTJqGqVg=";
|
2021-04-02 21:32:32 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libxcb qtbase qtsvg ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2023-07-23 23:45:18 +02:00
|
|
|
cmakeFlags = [ "-DCMAKE_INSTALL_PREFIX=" ];
|
2021-04-02 21:32:32 +02:00
|
|
|
|
|
|
|
installFlags = [ "DESTDIR=$(out)" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Lightweight unofficial Spotify client using Qt";
|
2024-03-19 03:14:51 +01:00
|
|
|
mainProgram = "spotify-qt";
|
2021-04-02 21:32:32 +02:00
|
|
|
homepage = "https://github.com/kraxarn/spotify-qt";
|
|
|
|
license = licenses.gpl3Only;
|
2022-08-21 23:50:03 +02:00
|
|
|
maintainers = with maintainers; [ ];
|
2021-04-02 21:32:32 +02:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|