mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
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:
parent
67249523f0
commit
8d59785746
36
pkgs/applications/audio/spotify-qt/default.nix
Normal file
36
pkgs/applications/audio/spotify-qt/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user