Merge pull request #261875 from player131007/update-qview

qView: 5.0 -> 6.1
This commit is contained in:
Anthony Cowley 2023-10-18 16:15:13 -04:00 committed by GitHub
commit ef21b9f5aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";