about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/video/yuview/default.nix
blob: 440782a8b70aa54cd1cbd2e6062fd50ee880737d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{ lib
, stdenv
, fetchFromGitHub
, qmake
, wrapQtAppsHook
}:

stdenv.mkDerivation rec {
  pname = "yuview";
  version = "2.12.1";

  src = fetchFromGitHub {
    owner = "IENT";
    repo = "YUView";
    rev = "v${version}";
    sha256 = "sha256-BQnlq6TBxGbwqn6lAZGBo4+2HeXdFYL33LKqKSXMvdY=";
  };

  nativeBuildInputs = [ qmake wrapQtAppsHook ];

  patches = [ ./disable_version_check.patch ];

  enableParallelBuilding = true;

  meta = with lib; {
    homepage = "https://ient.github.io/YUView";
    description = "YUV Viewer and Analysis Tool";
    longDescription = ''
      YUView is a Qt based YUV player with an advanced analytic toolset for
      Linux, Windows and Mac. At its core, YUView is a powerful YUV player that
      can open and show almost any YUV format. With its simple interface it is
      easy to navigate through sequences and inspect details and a side by side
      and comparison view can help to spot differences between two sequences. A
      sophisticated statistics renderer can overlay the video with supplemental
      information. More features include playlists, support for visual tests and
      presentations, support of compressed formats (through libde265 and
      FFmpeg), support for raw RGB files as well as image files and image
      sequences, and many more. Further information can be found in the YUV help
      in the application itself or in our wiki.
    '';
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ leixb ];
    platforms = platforms.unix;
  };
}