2022-05-16 16:11:26 +01:00
|
|
|
{ lib, stdenv, mkDerivation, fetchFromGitHub, pkg-config, qmake, qtx11extras, qttools, mpv }:
|
2018-02-28 14:20:52 +00:00
|
|
|
|
2020-04-16 18:55:41 +01:00
|
|
|
mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "mpc-qt";
|
2022-05-16 16:11:26 +01:00
|
|
|
version = "22.02";
|
2018-02-28 14:20:52 +00:00
|
|
|
|
2022-05-16 16:11:26 +01:00
|
|
|
src = fetchFromGitHub {
|
2020-04-16 18:55:41 +01:00
|
|
|
owner = "mpc-qt";
|
2018-02-28 14:20:52 +00:00
|
|
|
repo = "mpc-qt";
|
2022-05-16 16:11:26 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-DRbNDrWnaTT4A0dRFAv9MX/MDwV/rXIw+R8fQJmVN+g=";
|
2018-02-28 14:20:52 +00:00
|
|
|
};
|
|
|
|
|
2020-11-25 12:41:12 +00:00
|
|
|
nativeBuildInputs = [ pkg-config qmake qttools ];
|
2018-02-28 14:20:52 +00:00
|
|
|
|
|
|
|
buildInputs = [ mpv qtx11extras ];
|
|
|
|
|
|
|
|
qmakeFlags = [ "QMAKE_LUPDATE=${qttools.dev}/bin/lupdate" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-02-28 14:20:52 +00:00
|
|
|
description = "Media Player Classic Qute Theater";
|
2022-05-16 16:11:26 +01:00
|
|
|
homepage = "https://mpc-qt.github.io";
|
2018-02-28 14:20:52 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.unix;
|
2021-01-03 23:08:01 +00:00
|
|
|
broken = stdenv.isDarwin;
|
2018-02-28 14:20:52 +00:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
|
|
|
};
|
|
|
|
}
|