summary refs log tree commit diff
path: root/pkgs/applications/graphics/qview/default.nix
blob: e5d148da8e6a58fc4e9961a83ac2971e384d7a7b (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
26
27
28
29
30
31
32
33
34
35
36
37
38
{ lib
, mkDerivation
, fetchFromGitHub
, qmake
, qtbase
, qttools
, qtimageformats
, qtsvg
}:

mkDerivation rec {
  pname = "qview";
  version = "5.0";

  src = fetchFromGitHub {
    owner = "jurplel";
    repo = "qView";
    rev = version;
    hash = "sha256-VQ0H9iPrrxO9e/kMo7yZ/zN5I2qDWBCAFacS9uGuZLI=";
  };

  nativeBuildInputs = [ qmake ];

  buildInputs = [
    qtbase
    qttools
    qtimageformats
    qtsvg
  ];

  meta = with lib; {
    description = "Practical and minimal image viewer";
    homepage = "https://interversehq.com/qview/";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ acowley ];
    platforms = platforms.all;
  };
}