mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
Merge pull request #329066 from eclairevoyant/previewqt
previewqt: init at 3.0
This commit is contained in:
commit
62a20c2a9c
64
pkgs/by-name/pr/previewqt/package.nix
Normal file
64
pkgs/by-name/pr/previewqt/package.nix
Normal file
@ -0,0 +1,64 @@
|
||||
{
|
||||
lib,
|
||||
vips,
|
||||
resvg,
|
||||
mpv,
|
||||
libraw,
|
||||
imagemagick,
|
||||
libdevil,
|
||||
stdenv,
|
||||
fetchFromGitLab,
|
||||
cmake,
|
||||
libarchive,
|
||||
qt6Packages,
|
||||
extra-cmake-modules,
|
||||
exiv2,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "previewqt";
|
||||
version = "3.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "lspies";
|
||||
repo = "previewqt";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-cDtqgezKGgSdhw8x1mM4cZ0H3SfUPEyWP6rRD+kRwXc=";
|
||||
};
|
||||
|
||||
# can't find qtquick3d
|
||||
strictDeps = false;
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
qt6Packages.wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
exiv2
|
||||
imagemagick
|
||||
qt6Packages.poppler
|
||||
qt6Packages.qtmultimedia
|
||||
qt6Packages.qtquick3d
|
||||
qt6Packages.qtsvg
|
||||
qt6Packages.qttools
|
||||
qt6Packages.qtwebengine
|
||||
libarchive
|
||||
libdevil
|
||||
libraw
|
||||
mpv
|
||||
resvg
|
||||
vips
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Qt-based file previewer";
|
||||
homepage = "https://photoqt.org/previewqt";
|
||||
changelog = "https://gitlab.com/lspies/previewqt/-/blob/v${version}/CHANGELOG";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ eclairevoyant ];
|
||||
mainProgram = "previewqt";
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user