2022-06-16 17:23:12 +00:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
2023-05-24 13:37:59 +00:00
|
|
|
, fetchpatch
|
2022-06-16 17:23:12 +00:00
|
|
|
, cmake
|
|
|
|
, extra-cmake-modules
|
|
|
|
, kconfig
|
|
|
|
, kio
|
2023-04-29 16:46:19 +00:00
|
|
|
, leptonica
|
2022-06-16 17:23:12 +00:00
|
|
|
, mauikit
|
2023-04-29 16:46:19 +00:00
|
|
|
, opencv
|
2022-06-16 17:23:12 +00:00
|
|
|
, qtlocation
|
|
|
|
, exiv2
|
|
|
|
, kquickimageedit
|
2023-04-29 16:46:19 +00:00
|
|
|
, tesseract
|
2022-06-16 17:23:12 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation {
|
|
|
|
pname = "mauikit-imagetools";
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
name = "remove-unused-method.patch";
|
|
|
|
url = "https://invent.kde.org/maui/mauikit-imagetools/-/commit/344852044d407b144bca01c41a409ceaa548bec0.patch";
|
|
|
|
hash = "sha256-Cpq/XzDgrKD8YVex2z9VxGTA+iDI5703+fHwkn0cIWA=";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
extra-cmake-modules
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
kconfig
|
|
|
|
kio
|
2023-04-29 16:46:19 +00:00
|
|
|
leptonica
|
2022-06-16 17:23:12 +00:00
|
|
|
mauikit
|
2023-04-29 16:46:19 +00:00
|
|
|
opencv
|
2022-06-16 17:23:12 +00:00
|
|
|
qtlocation
|
|
|
|
exiv2
|
|
|
|
kquickimageedit
|
2023-04-29 16:46:19 +00:00
|
|
|
tesseract
|
2022-06-16 17:23:12 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://invent.kde.org/maui/mauikit-imagetools";
|
|
|
|
description = "MauiKit Image Tools Components";
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = with maintainers; [ onny ];
|
|
|
|
};
|
|
|
|
}
|