Merge pull request #261875 from player131007/update-qview

qView: 5.0 -> 6.1

authored by

Anthony Cowley and committed by
GitHub
ef21b9f5 9c7a70fc

+7 -3
+7 -3
pkgs/applications/graphics/qview/default.nix
··· 6 , qttools 7 , qtimageformats 8 , qtsvg 9 }: 10 11 mkDerivation rec { 12 pname = "qview"; 13 - version = "5.0"; 14 15 src = fetchFromGitHub { 16 owner = "jurplel"; 17 repo = "qView"; 18 rev = version; 19 - hash = "sha256-VQ0H9iPrrxO9e/kMo7yZ/zN5I2qDWBCAFacS9uGuZLI="; 20 }; 21 22 nativeBuildInputs = [ qmake ]; 23 ··· 26 qttools 27 qtimageformats 28 qtsvg 29 - ]; 30 31 meta = with lib; { 32 description = "Practical and minimal image viewer";
··· 6 , qttools 7 , qtimageformats 8 , qtsvg 9 + , qtx11extras 10 + , x11Support ? true 11 }: 12 13 mkDerivation rec { 14 pname = "qview"; 15 + version = "6.1"; 16 17 src = fetchFromGitHub { 18 owner = "jurplel"; 19 repo = "qView"; 20 rev = version; 21 + hash = "sha256-h1K1Smfy875NoHtgUrOvZZp0IgcQdbyuQhXU9ndM4bA="; 22 }; 23 + 24 + qmakeFlags = lib.optionals (!x11Support) [ "CONFIG+=NO_X11" ]; 25 26 nativeBuildInputs = [ qmake ]; 27 ··· 30 qttools 31 qtimageformats 32 qtsvg 33 + ] ++ lib.optionals x11Support [ qtx11extras ]; 34 35 meta = with lib; { 36 description = "Practical and minimal image viewer";