2ce5db779a
GitOrigin-RevId: 48037fd90426e44e4bf03e6479e88a11453b9b66
28 lines
745 B
Nix
28 lines
745 B
Nix
{ lib, stdenv, mkDerivation, fetchFromGitHub, pkg-config, qmake, qtx11extras, qttools, mpv }:
|
|
|
|
mkDerivation rec {
|
|
pname = "mpc-qt";
|
|
version = "22.02";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mpc-qt";
|
|
repo = "mpc-qt";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-DRbNDrWnaTT4A0dRFAv9MX/MDwV/rXIw+R8fQJmVN+g=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|