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