From fbc46ae2caf38cb5a94e6040b63822961011997c Mon Sep 17 00:00:00 2001 From: Anthony Cowley Date: Tue, 28 May 2019 12:09:20 -0400 Subject: Package the qView image viewer A fast, unobtrusive Qt-based image viewer. --- pkgs/applications/graphics/qview/default.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 pkgs/applications/graphics/qview/default.nix (limited to 'pkgs/applications/graphics/qview/default.nix') diff --git a/pkgs/applications/graphics/qview/default.nix b/pkgs/applications/graphics/qview/default.nix new file mode 100644 index 00000000000..7e8ec9a3898 --- /dev/null +++ b/pkgs/applications/graphics/qview/default.nix @@ -0,0 +1,22 @@ +{stdenv, fetchFromGitHub, qmake}: +stdenv.mkDerivation rec { + name = "qview-${version}"; + version = "2.0"; + src = fetchFromGitHub { + owner = "jurplel"; + repo = "qView"; + rev = "${version}"; + sha256 = "1s29hz44rb5dwzq8d4i4bfg77dr0v3ywpvidpa6xzg7hnnv3mhi5"; + }; + nativeBuildInputs = [ qmake ]; + patchPhase = '' + sed "s|/usr/|$out/|g" -i qView.pro + ''; + meta = with stdenv.lib; { + description = "Practical and minimal image viewer"; + homepage = https://interversehq.com/qview/; + license = licenses.gpl3; + maintainers = with maintainers; [ acowley ]; + platforms = platforms.all; + }; +} -- cgit 1.4.1