2022-03-05 16:20:37 +00:00
|
|
|
{ lib
|
2024-01-13 08:15:51 +00:00
|
|
|
, stdenv
|
2020-12-29 15:07:52 +00:00
|
|
|
, fetchFromGitLab
|
|
|
|
, extra-cmake-modules
|
2024-01-13 08:15:51 +00:00
|
|
|
, qtbase
|
|
|
|
, qtdeclarative
|
2020-12-29 15:07:52 +00:00
|
|
|
}:
|
|
|
|
|
2024-01-13 08:15:51 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-12-29 15:07:52 +00:00
|
|
|
pname = "kquickimageeditor";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "0.3.0";
|
2020-12-29 15:07:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "invent.kde.org";
|
|
|
|
owner = "libraries";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-11-16 04:20:00 +00:00
|
|
|
sha256 = "sha256-+BByt07HMb4u6j9bVZqkUPvyRaElKvJ2MjKlPakL87E=";
|
2020-12-29 15:07:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
2024-01-13 08:15:51 +00:00
|
|
|
buildInputs = [ qtbase qtdeclarative ];
|
|
|
|
cmakeFlags = ["-DQT_MAJOR_VERSION=${lib.versions.major qtbase.version}"];
|
|
|
|
dontWrapQtApps = true;
|
2022-03-05 16:20:37 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Set of QtQuick components providing basic image editing capabilities";
|
|
|
|
homepage = "https://invent.kde.org/libraries/kquickimageeditor";
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
badPlatforms = platforms.darwin;
|
|
|
|
};
|
2020-12-29 15:07:52 +00:00
|
|
|
}
|