depot/third_party/nixpkgs/pkgs/applications/video/mpc-qt/default.nix
Default email 5557ff764c Project import generated by Copybara.
GitOrigin-RevId: 988cc958c57ce4350ec248d2d53087777f9e1949
2023-02-22 11:55:15 +01:00

28 lines
745 B
Nix

{ lib, stdenv, mkDerivation, fetchFromGitHub, pkg-config, qmake, qtx11extras, qttools, mpv }:
mkDerivation rec {
pname = "mpc-qt";
version = "23.02";
src = fetchFromGitHub {
owner = "mpc-qt";
repo = "mpc-qt";
rev = "v${version}";
sha256 = "sha256-b8efsdWWpwoaiX+oQhHK15KxD6JpvPhESTxCR2kS7Mk=";
};
nativeBuildInputs = [ pkg-config qmake qttools ];
buildInputs = [ mpv qtx11extras ];
qmakeFlags = [ "QMAKE_LUPDATE=${qttools.dev}/bin/lupdate" ];
meta = with lib; {
description = "Media Player Classic Qute Theater";
homepage = "https://mpc-qt.github.io";
license = licenses.gpl2;
platforms = platforms.unix;
broken = stdenv.isDarwin;
maintainers = with maintainers; [ romildo ];
};
}