summary refs log blame commit diff
path: root/pkgs/applications/video/mpc-qt/default.nix
blob: ff7df19bec15001f856930380b04b471db6c9141 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                                         
                   
                    




                         
                                                                    









                                                              
                                                      




                                                
{ stdenv, fetchFromGitHub, pkgconfig, qmake, qtx11extras, qttools, mpv }:

stdenv.mkDerivation rec {
  pname = "mpc-qt";
  version = "18.08";

  src = fetchFromGitHub {
    owner = "cmdrkotori";
    repo = "mpc-qt";
    rev = "v${version}";
    sha256 = "1rxlkg3vsrapazdlb1i6c5a1vvf2114bsqwzcm3n2wc5c93yqsna";
  };

  nativeBuildInputs = [ pkgconfig qmake qttools ];

  buildInputs = [ mpv qtx11extras ];

  qmakeFlags = [ "QMAKE_LUPDATE=${qttools.dev}/bin/lupdate" ];

  meta = with stdenv.lib; {
    description = "Media Player Classic Qute Theater";
    homepage = "https://github.com/cmdrkotori/mpc-qt";
    license = licenses.gpl2;
    platforms = platforms.unix;
    maintainers = with maintainers; [ romildo ];
  };
}