depot/third_party/nixpkgs/pkgs/desktops/lxqt/lximage-qt/default.nix
Default email 01ed8ef136 Project import generated by Copybara.
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
2022-11-21 19:40:18 +02:00

58 lines
1,012 B
Nix

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, pkg-config
, qtbase
, qttools
, qtx11extras
, qtsvg
, qtimageformats
, xorg
, lxqt-build-tools
, libfm-qt
, libexif
, menu-cache
, gitUpdater
}:
mkDerivation rec {
pname = "lximage-qt";
version = "1.2.0";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
sha256 = "T/LvxnHi0094wvxjB+6W7Ztg2lxkSu5yzjGx/jSzM8Y=";
};
nativeBuildInputs = [
cmake
pkg-config
lxqt-build-tools
];
buildInputs = [
qtbase
qttools
qtx11extras
qtsvg
qtimageformats # add-on module to support more image file formats
libfm-qt
xorg.libpthreadstubs
xorg.libXdmcp
libexif
menu-cache
];
passthru.updateScript = gitUpdater { };
meta = with lib; {
homepage = "https://github.com/lxqt/lximage-qt";
description = "The image viewer and screenshot tool for lxqt";
license = licenses.gpl2Plus;
platforms = with platforms; unix;
maintainers = teams.lxqt.members;
};
}