about summary refs log tree commit diff
path: root/pkgs/applications/graphics
diff options
context:
space:
mode:
authorLương Việt Hoàng <tcm4095@gmail.com>2023-10-18 23:53:06 +0700
committerLương Việt Hoàng <tcm4095@gmail.com>2023-10-18 23:53:06 +0700
commita4a209666e2dcd62245f205c90e0ae08fc5adc26 (patch)
tree62cad59209071b9b6861aff900cd6f0d587cbb09 /pkgs/applications/graphics
parent121fcf0d765aa14439ab95f33b11b06ef2feee57 (diff)
downloadnixlib-a4a209666e2dcd62245f205c90e0ae08fc5adc26.tar
nixlib-a4a209666e2dcd62245f205c90e0ae08fc5adc26.tar.gz
nixlib-a4a209666e2dcd62245f205c90e0ae08fc5adc26.tar.bz2
nixlib-a4a209666e2dcd62245f205c90e0ae08fc5adc26.tar.lz
nixlib-a4a209666e2dcd62245f205c90e0ae08fc5adc26.tar.xz
nixlib-a4a209666e2dcd62245f205c90e0ae08fc5adc26.tar.zst
nixlib-a4a209666e2dcd62245f205c90e0ae08fc5adc26.zip
qView: 5.0 -> 6.1
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r--pkgs/applications/graphics/qview/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/applications/graphics/qview/default.nix b/pkgs/applications/graphics/qview/default.nix
index e5d148da8e6a..b52431e723e8 100644
--- a/pkgs/applications/graphics/qview/default.nix
+++ b/pkgs/applications/graphics/qview/default.nix
@@ -6,17 +6,19 @@
 , qttools
 , qtimageformats
 , qtsvg
+, qtx11extras
+, x11Support ? true
 }:
 
 mkDerivation rec {
   pname = "qview";
-  version = "5.0";
+  version = "6.1";
 
   src = fetchFromGitHub {
     owner = "jurplel";
     repo = "qView";
     rev = version;
-    hash = "sha256-VQ0H9iPrrxO9e/kMo7yZ/zN5I2qDWBCAFacS9uGuZLI=";
+    hash = "sha256-h1K1Smfy875NoHtgUrOvZZp0IgcQdbyuQhXU9ndM4bA=";
   };
 
   nativeBuildInputs = [ qmake ];
@@ -26,7 +28,7 @@ mkDerivation rec {
     qttools
     qtimageformats
     qtsvg
-  ];
+  ] ++ lib.optionals x11Support [ qtx11extras ];
 
   meta = with lib; {
     description = "Practical and minimal image viewer";