Unverified Commit ef21b9f5 authored by Anthony Cowley's avatar Anthony Cowley Committed by GitHub
Browse files

Merge pull request #261875 from player131007/update-qview

qView: 5.0 -> 6.1
parents 9c7a70fc 5b689b36
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -6,19 +6,23 @@
, 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=";
  };

  qmakeFlags = lib.optionals (!x11Support) [ "CONFIG+=NO_X11" ];

  nativeBuildInputs = [ qmake ];

  buildInputs = [
@@ -26,7 +30,7 @@ mkDerivation rec {
    qttools
    qtimageformats
    qtsvg
  ];
  ] ++ lib.optionals x11Support [ qtx11extras ];

  meta = with lib; {
    description = "Practical and minimal image viewer";