2018-02-28 14:20:52 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, qmake, qtx11extras, qttools, mpv }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mpc-qt-${version}";
|
2018-08-08 22:34:54 +01:00
|
|
|
version = "18.08";
|
2018-02-28 14:20:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cmdrkotori";
|
|
|
|
repo = "mpc-qt";
|
|
|
|
rev = "v${version}";
|
2018-08-08 22:34:54 +01:00
|
|
|
sha256 = "1rxlkg3vsrapazdlb1i6c5a1vvf2114bsqwzcm3n2wc5c93yqsna";
|
2018-02-28 14:20:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|