2021-08-18 13:19:15 +00:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, qmake
|
|
|
|
, qtbase
|
|
|
|
, qtimageformats
|
|
|
|
, qtsvg
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "qview";
|
2020-11-12 09:05:59 +00:00
|
|
|
version = "4.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jurplel";
|
|
|
|
repo = "qView";
|
|
|
|
rev = version;
|
2020-11-12 09:05:59 +00:00
|
|
|
sha256 = "15n9cq7w3ckinnx38hvncxrbkv4qm4k51sal41q4y0pkvhmafhnr";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ qmake ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
qtbase
|
2021-08-18 13:19:15 +00:00
|
|
|
qtimageformats
|
|
|
|
qtsvg
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed "s|/usr/|$out/|g" -i qView.pro
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Practical and minimal image viewer";
|
|
|
|
homepage = "https://interversehq.com/qview/";
|
2021-08-18 13:19:15 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ acowley ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|