Merge pull request #261875 from player131007/update-qview
qView: 5.0 -> 6.1
This commit is contained in:
commit
ef21b9f5aa
1 changed files with 7 additions and 3 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue