biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / audio / spotify-qt / default.nix
blobd5947d145172b4b90d9494ed9225dbdcf2c9e1e5
1 { fetchFromGitHub
2 , lib
3 , cmake
4 , mkDerivation
5 , libxcb
6 , qtbase
7 , qtsvg
8 }:
10 mkDerivation rec {
11    pname = "spotify-qt";
12    version = "3.11";
14    src = fetchFromGitHub {
15       owner = "kraxarn";
16       repo = pname;
17       rev = "v${version}";
18       sha256 = "sha256-Dm+ELHtYZGSzJSrERtvpuuV5cVZ9ah9WQ0iTTJqGqVg=";
19    };
21    buildInputs = [ libxcb qtbase qtsvg ];
23    nativeBuildInputs = [ cmake ];
25    cmakeFlags = [ "-DCMAKE_INSTALL_PREFIX=" ];
27    installFlags = [ "DESTDIR=$(out)" ];
29    meta = with lib; {
30     description = "Lightweight unofficial Spotify client using Qt";
31     mainProgram = "spotify-qt";
32     homepage = "https://github.com/kraxarn/spotify-qt";
33     license = licenses.gpl3Only;
34     maintainers = with maintainers; [ ];
35     platforms = platforms.unix;
36    };