about summary refs log tree commit diff
path: root/pkgs/applications/graphics/pureref/default.nix
blob: 5a0774a09f430d829dbe63094b4578cbfbd93d53 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 ];
  };
}