depot/third_party/nixpkgs/pkgs/desktops/lxqt/lximage-qt/default.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

63 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.1.1";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
hash = "sha256-Y9lBXEROC4LIl1M7js0TvJBBNyO06qCWpHxvQjcYPhc=";
};
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 = "Image viewer and screenshot tool for lxqt";
mainProgram = "lximage-qt";
license = licenses.gpl2Plus;
platforms = with platforms; unix;
maintainers = teams.lxqt.members;
};
}