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