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