diff --git a/pkgs/applications/video/yuview/disable_version_check.patch b/pkgs/by-name/yu/yuview/disable_version_check.patch similarity index 100% rename from pkgs/applications/video/yuview/disable_version_check.patch rename to pkgs/by-name/yu/yuview/disable_version_check.patch diff --git a/pkgs/applications/video/yuview/default.nix b/pkgs/by-name/yu/yuview/package.nix similarity index 73% rename from pkgs/applications/video/yuview/default.nix rename to pkgs/by-name/yu/yuview/package.nix index 3a15d32c4205..6993ec3aa74d 100644 --- a/pkgs/applications/video/yuview/default.nix +++ b/pkgs/by-name/yu/yuview/package.nix @@ -2,31 +2,31 @@ lib, stdenv, fetchFromGitHub, - qmake, - wrapQtAppsHook, + libsForQt5, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "yuview"; - version = "2.13"; + version = "2.14"; src = fetchFromGitHub { owner = "IENT"; repo = "YUView"; - rev = "v.${version}"; - sha256 = "sha256-2mNIuyY/ni+zkUc8V/iXUEa7JeBJyOnNod7friMYAm8="; + tag = "v${finalAttrs.version}"; + hash = "sha256-YuKPRYBr1CKrwickk1T89ZCYFt99jP86tdanp+JZMO4="; }; nativeBuildInputs = [ - qmake - wrapQtAppsHook + libsForQt5.qmake + libsForQt5.wrapQtAppsHook ]; patches = [ ./disable_version_check.patch ]; enableParallelBuilding = true; - meta = with lib; { + meta = { + changelog = "https://github.com/IENT/YUView/releases/tag/${finalAttrs.src.tag}"; homepage = "https://ient.github.io/YUView"; description = "YUV Viewer and Analysis Tool"; longDescription = '' @@ -42,9 +42,9 @@ stdenv.mkDerivation rec { 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; + license = lib.licenses.gpl3Plus; + maintainers = with lib.maintainers; [ leixb ]; + platforms = lib.platforms.unix; mainProgram = "YUView"; }; -} +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 808fd133a22e..6e013fdcda02 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14579,8 +14579,6 @@ with pkgs; youtube-viewer = perlPackages.WWWYoutubeViewer; - yuview = libsForQt5.yuview; - zathuraPkgs = callPackage ../applications/misc/zathura { }; zathura = zathuraPkgs.zathuraWrapper; diff --git a/pkgs/top-level/qt5-packages.nix b/pkgs/top-level/qt5-packages.nix index 0ca29f61a4e4..9d67d8024bcc 100644 --- a/pkgs/top-level/qt5-packages.nix +++ b/pkgs/top-level/qt5-packages.nix @@ -326,8 +326,6 @@ makeScopeWithSplicing' { xp-pen-g430-driver = callPackage ../os-specific/linux/xp-pen-drivers/g430 { }; xwaylandvideobridge = callPackage ../tools/wayland/xwaylandvideobridge { }; - - yuview = callPackage ../applications/video/yuview { }; } )) );