587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
62 lines
1.1 KiB
Nix
62 lines
1.1 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, pkg-config
|
|
, libXdmcp
|
|
, libexif
|
|
, libfm-qt
|
|
, libpthreadstubs
|
|
, lxqt-build-tools
|
|
, menu-cache
|
|
, qtbase
|
|
, qtimageformats
|
|
, qtsvg
|
|
, qttools
|
|
, qtwayland
|
|
, wrapQtAppsHook
|
|
, gitUpdater
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "lximage-qt";
|
|
version = "2.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lxqt";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-yjsdXVV/EOgpNI5kY12lNH9Wpru8A6eWxayslFdioiQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
lxqt-build-tools
|
|
qttools
|
|
wrapQtAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
libXdmcp
|
|
libexif
|
|
libfm-qt
|
|
libpthreadstubs
|
|
menu-cache
|
|
qtbase
|
|
qtimageformats # add-on module to support more image file formats
|
|
qtsvg
|
|
qtwayland
|
|
];
|
|
|
|
passthru.updateScript = gitUpdater { };
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/lxqt/lximage-qt";
|
|
description = "The image viewer and screenshot tool for lxqt";
|
|
mainProgram = "lximage-qt";
|
|
license = licenses.gpl2Plus;
|
|
platforms = with platforms; unix;
|
|
maintainers = teams.lxqt.members;
|
|
};
|
|
}
|