summary refs log tree commit diff
path: root/pkgs/applications/graphics/qview/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/graphics/qview/default.nix')
-rw-r--r--pkgs/applications/graphics/qview/default.nix22
1 files changed, 22 insertions, 0 deletions
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;
+  };
+}