about summary refs log tree commit diff
path: root/pkgs/applications/graphics
diff options
context:
space:
mode:
authorAnthony Cowley <acowley@gmail.com>2023-01-04 10:14:14 -0500
committerGitHub <noreply@github.com>2023-01-04 10:14:14 -0500
commitd89f78d1cecfe4bac8255b91a52cc9ef0fd9caf8 (patch)
tree8ccc7f78ffe174bb4d74d110384beace5774bda7 /pkgs/applications/graphics
parentba50db790f2d56c5090d363689c8ceb62bfed079 (diff)
parentc064354949a6b864c26d37afafda0b6325e5a971 (diff)
Merge pull request #203246 from zendo/update/qview
qview: 4.0 -> 5.0
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r--pkgs/applications/graphics/qview/default.nix10
1 files changed, 4 insertions, 6 deletions
diff --git a/pkgs/applications/graphics/qview/default.nix b/pkgs/applications/graphics/qview/default.nix
index 7f4f4cc1a9765..e5d148da8e6a5 100644
--- a/pkgs/applications/graphics/qview/default.nix
+++ b/pkgs/applications/graphics/qview/default.nix
@@ -3,33 +3,31 @@
 , fetchFromGitHub
 , qmake
 , qtbase
+, qttools
 , qtimageformats
 , qtsvg
 }:
 
 mkDerivation rec {
   pname = "qview";
-  version = "4.0";
+  version = "5.0";
 
   src = fetchFromGitHub {
     owner = "jurplel";
     repo = "qView";
     rev = version;
-    sha256 = "15n9cq7w3ckinnx38hvncxrbkv4qm4k51sal41q4y0pkvhmafhnr";
+    hash = "sha256-VQ0H9iPrrxO9e/kMo7yZ/zN5I2qDWBCAFacS9uGuZLI=";
   };
 
   nativeBuildInputs = [ qmake ];
 
   buildInputs = [
     qtbase
+    qttools
     qtimageformats
     qtsvg
   ];
 
-  patchPhase = ''
-    sed "s|/usr/|$out/|g" -i qView.pro
-  '';
-
   meta = with lib; {
     description = "Practical and minimal image viewer";
     homepage = "https://interversehq.com/qview/";