summary refs log tree commit diff
path: root/pkgs/desktops/lxqt/lximage-qt/default.nix
blob: e47a9ec1b48a766436c0c57e390b9ada0bef25d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, qtbase, qttools,
  qtx11extras, qtsvg, xorg, lxqt-build-tools, libfm-qt, libexif }:

mkDerivation rec {
  pname = "lximage-qt";
  version = "0.14.1";

  src = fetchFromGitHub {
    owner = "lxqt";
    repo = pname;
    rev = version;
    sha256 = "175l2w5w6iag01v05jq90pxx0al24wpw3mgsbcgqhl4z6h860r32";
  };

  nativeBuildInputs = [
    cmake
    pkgconfig
    lxqt-build-tools
  ];

  buildInputs = [
    qtbase
    qttools
    qtx11extras
    qtsvg
    libfm-qt
    xorg.libpthreadstubs
    xorg.libXdmcp
    libexif
  ];

  meta = with lib; {
    description = "The image viewer and screenshot tool for lxqt";
    homepage = "https://github.com/lxqt/lximage-qt";
    license = licenses.gpl2;
    platforms = with platforms; unix;
    maintainers = with maintainers; [ romildo ];
  };
}