···11+{ lib
22+, stdenv
33+, fetchFromGitHub
44+, qmake
55+, wrapQtAppsHook
66+}:
77+88+stdenv.mkDerivation rec {
99+ pname = "yuview";
1010+ version = "2.12.1";
1111+1212+ src = fetchFromGitHub {
1313+ owner = "IENT";
1414+ repo = "YUView";
1515+ rev = "v${version}";
1616+ sha256 = "sha256-BQnlq6TBxGbwqn6lAZGBo4+2HeXdFYL33LKqKSXMvdY=";
1717+ };
1818+1919+ nativeBuildInputs = [ qmake wrapQtAppsHook ];
2020+2121+ patches = [ ./disable_version_check.patch ];
2222+2323+ enableParallelBuilding = true;
2424+2525+ meta = with lib; {
2626+ homepage = "https://ient.github.io/YUView";
2727+ description = "YUV Viewer and Analysis Tool";
2828+ longDescription = ''
2929+ YUView is a Qt based YUV player with an advanced analytic toolset for
3030+ Linux, Windows and Mac. At its core, YUView is a powerful YUV player that
3131+ can open and show almost any YUV format. With its simple interface it is
3232+ easy to navigate through sequences and inspect details and a side by side
3333+ and comparison view can help to spot differences between two sequences. A
3434+ sophisticated statistics renderer can overlay the video with supplemental
3535+ information. More features include playlists, support for visual tests and
3636+ presentations, support of compressed formats (through libde265 and
3737+ FFmpeg), support for raw RGB files as well as image files and image
3838+ sequences, and many more. Further information can be found in the YUV help
3939+ in the application itself or in our wiki.
4040+ '';
4141+ license = licenses.gpl3Plus;
4242+ maintainers = with maintainers; [ leixb ];
4343+ platforms = platforms.unix;
4444+ };
4545+}