From d6fb49d8c297eebefab57e76105f9d68bef40221 Mon Sep 17 00:00:00 2001 From: Ryan Burns Date: Sun, 15 Aug 2021 18:36:49 -0700 Subject: qview: fix build on darwin, support extra formats Clarified license to GPL3+. Building on darwin requires qtsvg. qtimageformats adds support for extra image formats, such as WebP. --- pkgs/applications/graphics/qview/default.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'pkgs/applications/graphics/qview/default.nix') diff --git a/pkgs/applications/graphics/qview/default.nix b/pkgs/applications/graphics/qview/default.nix index 001616ab41d..7f4f4cc1a97 100644 --- a/pkgs/applications/graphics/qview/default.nix +++ b/pkgs/applications/graphics/qview/default.nix @@ -1,4 +1,11 @@ -{ mkDerivation, lib, fetchFromGitHub, qmake, qtbase }: +{ lib +, mkDerivation +, fetchFromGitHub +, qmake +, qtbase +, qtimageformats +, qtsvg +}: mkDerivation rec { pname = "qview"; @@ -15,6 +22,8 @@ mkDerivation rec { buildInputs = [ qtbase + qtimageformats + qtsvg ]; patchPhase = '' @@ -24,7 +33,7 @@ mkDerivation rec { meta = with lib; { description = "Practical and minimal image viewer"; homepage = "https://interversehq.com/qview/"; - license = licenses.gpl3; + license = licenses.gpl3Plus; maintainers = with maintainers; [ acowley ]; platforms = platforms.all; }; -- cgit 1.4.1