about summary refs log tree commit diff
path: root/pkgs/applications/graphics/pureref
diff options
context:
space:
mode:
authorElnuDev <elnu@elnu.com>2023-01-19 13:06:52 -0800
committerElnuDev <elnu@elnu.com>2023-01-19 13:06:52 -0800
commitafdcfa28cccc84f35007379917dde518b8916a27 (patch)
tree778630db2cdf26020ae9f7b86fd2d5ed4149f214 /pkgs/applications/graphics/pureref
parent8625a430bd6894df8dbe9b8b4df650bc63f8f35b (diff)
pureref: init at 1.11.1
Diffstat (limited to 'pkgs/applications/graphics/pureref')
-rw-r--r--pkgs/applications/graphics/pureref/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/pureref/default.nix b/pkgs/applications/graphics/pureref/default.nix
new file mode 100644
index 0000000000000..5a0774a09f430
--- /dev/null
+++ b/pkgs/applications/graphics/pureref/default.nix
@@ -0,0 +1,25 @@
+{ lib, appimageTools, requireFile }:
+
+appimageTools.wrapType1 rec {
+  pname = "pureref";
+  version = "1.11.1";
+
+  src = requireFile {
+    name = "PureRef-${version}_x64.Appimage";
+    sha256 = "05naywdgykqrsgc3xybskr418cyvbx7vqs994yv9w8zf98gxvbvm";
+    url = "https://www.pureref.com/download.php";
+  };
+
+  extraInstallCommands = ''
+    mv $out/bin/${pname}-${version} $out/bin/${pname}
+  '';
+
+  meta = with lib; {
+    description = "Reference Image Viewer";
+    homepage = "https://www.pureref.com";
+    license = licenses.unfree;
+    maintainers = with maintainers; [ elnudev ];
+    platforms = [ "x86_64-linux" ];
+    sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
+  };
+}