Skip to content

Commit d1877bd

Browse files
committed
previewqt: init at 3.0
1 parent 7545a6c commit d1877bd

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
lib,
3+
vips,
4+
resvg,
5+
mpv,
6+
libraw,
7+
imagemagick,
8+
libdevil,
9+
stdenv,
10+
fetchFromGitLab,
11+
cmake,
12+
libarchive,
13+
qt6Packages,
14+
extra-cmake-modules,
15+
exiv2,
16+
}:
17+
18+
stdenv.mkDerivation rec {
19+
pname = "previewqt";
20+
version = "3.0";
21+
22+
src = fetchFromGitLab {
23+
owner = "lspies";
24+
repo = "previewqt";
25+
rev = "refs/tags/v${version}";
26+
hash = "sha256-cDtqgezKGgSdhw8x1mM4cZ0H3SfUPEyWP6rRD+kRwXc=";
27+
};
28+
29+
# can't find qtquick3d
30+
strictDeps = false;
31+
32+
nativeBuildInputs = [
33+
cmake
34+
extra-cmake-modules
35+
qt6Packages.wrapQtAppsHook
36+
];
37+
38+
buildInputs = [
39+
exiv2
40+
imagemagick
41+
qt6Packages.poppler
42+
qt6Packages.qtmultimedia
43+
qt6Packages.qtquick3d
44+
qt6Packages.qtsvg
45+
qt6Packages.qttools
46+
qt6Packages.qtwebengine
47+
libarchive
48+
libdevil
49+
libraw
50+
mpv
51+
resvg
52+
vips
53+
];
54+
55+
meta = {
56+
description = "Qt-based file previewer";
57+
homepage = "https://photoqt.org/previewqt";
58+
changelog = "https://gitlab.com/lspies/previewqt/-/blob/v${version}/CHANGELOG";
59+
license = lib.licenses.gpl2Plus;
60+
maintainers = with lib.maintainers; [ eclairevoyant ];
61+
mainProgram = "previewqt";
62+
platforms = lib.platforms.linux;
63+
};
64+
}

0 commit comments

Comments
 (0)