1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
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

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