···1+{ lib
2+, stdenv
3+, fetchFromGitHub
4+, qmake
5+, wrapQtAppsHook
6+}:
7+8+stdenv.mkDerivation rec {
9+ pname = "yuview";
10+ version = "2.12.1";
11+12+ src = fetchFromGitHub {
13+ owner = "IENT";
14+ repo = "YUView";
15+ rev = "v${version}";
16+ sha256 = "sha256-BQnlq6TBxGbwqn6lAZGBo4+2HeXdFYL33LKqKSXMvdY=";
17+ };
18+19+ nativeBuildInputs = [ qmake wrapQtAppsHook ];
20+21+ patches = [ ./disable_version_check.patch ];
22+23+ enableParallelBuilding = true;
24+25+ meta = with lib; {
26+ homepage = "https://ient.github.io/YUView";
27+ description = "YUV Viewer and Analysis Tool";
28+ longDescription = ''
29+ YUView is a Qt based YUV player with an advanced analytic toolset for
30+ Linux, Windows and Mac. At its core, YUView is a powerful YUV player that
31+ can open and show almost any YUV format. With its simple interface it is
32+ easy to navigate through sequences and inspect details and a side by side
33+ and comparison view can help to spot differences between two sequences. A
34+ sophisticated statistics renderer can overlay the video with supplemental
35+ information. More features include playlists, support for visual tests and
36+ presentations, support of compressed formats (through libde265 and
37+ FFmpeg), support for raw RGB files as well as image files and image
38+ sequences, and many more. Further information can be found in the YUV help
39+ in the application itself or in our wiki.
40+ '';
41+ license = licenses.gpl3Plus;
42+ maintainers = with maintainers; [ leixb ];
43+ platforms = platforms.unix;
44+ };
45+}