summary refs log tree commit diff
path: root/pkgs/applications/maui/mauikit-imagetools.nix
blob: 1b6a994b9fac46b04a6f65eede7d3e32eff1240d (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
40
41
42
43
44
45
46
47
48
49
50
51
{ lib
, mkDerivation
, fetchpatch
, cmake
, extra-cmake-modules
, kconfig
, kio
, leptonica
, mauikit
, opencv
, qtlocation
, exiv2
, kquickimageedit
, tesseract
}:

mkDerivation {
  pname = "mauikit-imagetools";

  patches = [
    (fetchpatch {
      name = "remove-unused-method.patch";
      url = "https://invent.kde.org/maui/mauikit-imagetools/-/commit/344852044d407b144bca01c41a409ceaa548bec0.patch";
      hash = "sha256-Cpq/XzDgrKD8YVex2z9VxGTA+iDI5703+fHwkn0cIWA=";
    })
  ];

  nativeBuildInputs = [
    cmake
    extra-cmake-modules
  ];

  buildInputs = [
    kconfig
    kio
    leptonica
    mauikit
    opencv
    qtlocation
    exiv2
    kquickimageedit
    tesseract
  ];

  meta = with lib; {
    homepage = "https://invent.kde.org/maui/mauikit-imagetools";
    description = "MauiKit Image Tools Components";
    license = licenses.lgpl21Plus;
    maintainers = with maintainers; [ onny ];
  };
}