spotify-qt: init at v3.5 (#118261)

Co-authored-by: Karthik Iyengar <hello@kiyengar.net>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Karthik Iyengar 2021-04-02 21:32:32 +02:00 committed by GitHub
parent 67249523f0
commit 8d59785746
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ fetchFromGitHub
, lib
, cmake
, mkDerivation
, libxcb
, qtbase
, qtsvg
}:
mkDerivation rec {
pname = "spotify-qt";
version = "3.5";
src = fetchFromGitHub {
owner = "kraxarn";
repo = pname;
rev = "v${version}";
sha256 = "1bgd0q4sbbww3lbrx2zwgaz0sl7qh195s4kvgsq16gv7ij82bskn";
};
buildInputs = [ libxcb qtbase qtsvg ];
nativeBuildInputs = [ cmake ];
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=" ];
installFlags = [ "DESTDIR=$(out)" ];
meta = with lib; {
description = "Lightweight unofficial Spotify client using Qt";
homepage = "https://github.com/kraxarn/spotify-qt";
license = licenses.gpl3Only;
maintainers = with maintainers; [ kiyengar ];
platforms = platforms.unix;
};
}

View File

@ -25504,6 +25504,8 @@ in
split2flac = callPackage ../applications/audio/split2flac { };
spotify-qt = libsForQt5.callPackage ../applications/audio/spotify-qt { };
spotify-tui = callPackage ../applications/audio/spotify-tui {
inherit (darwin.apple_sdk.frameworks) AppKit Security;
};