nixpkgs/pkgs/applications/audio/spotify-qt/default.nix
Karthik Iyengar 8d59785746
spotify-qt: init at v3.5 (#118261)
Co-authored-by: Karthik Iyengar <hello@kiyengar.net>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-04-02 21:32:32 +02:00

36 lines
784 B
Nix

{ 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;
};
}