3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/video/mpc-qt/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
745 B
Nix
Raw Normal View History

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
mkDerivation rec {
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 {
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
};
nativeBuildInputs = [ pkg-config qmake qttools ];
2018-02-28 14:20:52 +00:00
buildInputs = [ mpv qtx11extras ];
qmakeFlags = [ "QMAKE_LUPDATE=${qttools.dev}/bin/lupdate" ];
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 ];
};
}