2019-05-28 18:09:20 +02:00
|
|
|
{stdenv, fetchFromGitHub, qmake}:
|
|
|
|
stdenv.mkDerivation rec {
|
2019-05-28 22:12:38 +02:00
|
|
|
pname = "qview";
|
2019-05-28 18:09:20 +02:00
|
|
|
version = "2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jurplel";
|
|
|
|
repo = "qView";
|
2019-05-28 22:12:38 +02:00
|
|
|
rev = version;
|
2019-05-28 18:09:20 +02:00
|
|
|
sha256 = "1s29hz44rb5dwzq8d4i4bfg77dr0v3ywpvidpa6xzg7hnnv3mhi5";
|
|
|
|
};
|
|
|
|
nativeBuildInputs = [ qmake ];
|
|
|
|
patchPhase = ''
|
|
|
|
sed "s|/usr/|$out/|g" -i qView.pro
|
|
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Practical and minimal image viewer";
|
2019-05-28 22:12:38 +02:00
|
|
|
homepage = "https://interversehq.com/qview/";
|
2019-05-28 18:09:20 +02:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ acowley ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|