nixpkgs/pkgs/desktops/lxqt/lximage-qt/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

63 lines
1.1 KiB
Nix
Raw Normal View History

{ lib
2024-04-18 17:21:39 +00:00
, stdenv
, fetchFromGitHub
, cmake
2021-01-17 02:21:50 +00:00
, pkg-config
2024-04-18 17:21:39 +00:00
, libXdmcp
, libexif
2024-04-18 17:21:39 +00:00
, libfm-qt
, libpthreadstubs
, lxqt-build-tools
, menu-cache
2024-04-18 17:21:39 +00:00
, qtbase
, qtimageformats
, qtsvg
, qttools
, qtwayland
, wrapQtAppsHook
, gitUpdater
}:
2016-10-08 13:37:10 +00:00
2024-04-18 17:21:39 +00:00
stdenv.mkDerivation rec {
2016-10-08 13:37:10 +00:00
pname = "lximage-qt";
version = "2.0.1";
2016-10-08 13:37:10 +00:00
2017-11-02 02:02:29 +00:00
src = fetchFromGitHub {
owner = "lxqt";
2016-10-08 13:37:10 +00:00
repo = pname;
rev = version;
hash = "sha256-I0DyC8i+OnHxHcpp/xPsKjr3UgvUHlVO8h9Tjhg7Pg8=";
2016-10-08 13:37:10 +00:00
};
2017-02-19 12:33:42 +00:00
nativeBuildInputs = [
cmake
2021-01-17 02:21:50 +00:00
pkg-config
2018-05-22 13:54:16 +00:00
lxqt-build-tools
2023-11-05 20:23:49 +00:00
qttools
2024-04-18 17:21:39 +00:00
wrapQtAppsHook
2017-02-19 12:33:42 +00:00
];
2016-10-08 13:37:10 +00:00
buildInputs = [
2024-04-18 17:21:39 +00:00
libXdmcp
2016-10-08 13:37:10 +00:00
libexif
2024-04-18 17:21:39 +00:00
libfm-qt
libpthreadstubs
menu-cache
2024-04-18 17:21:39 +00:00
qtbase
qtimageformats # add-on module to support more image file formats
qtsvg
qtwayland
2016-10-08 13:37:10 +00:00
];
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;
2016-10-08 13:37:10 +00:00
platforms = with platforms; unix;
2022-04-14 13:52:15 +00:00
maintainers = teams.lxqt.members;
2016-10-08 13:37:10 +00:00
};
}