depot/third_party/nixpkgs/pkgs/development/libraries/kquickimageedit/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

33 lines
844 B
Nix

{ lib
, stdenv
, fetchFromGitLab
, extra-cmake-modules
, qtbase
, qtdeclarative
}:
stdenv.mkDerivation rec {
pname = "kquickimageeditor";
version = "0.3.0";
src = fetchFromGitLab {
domain = "invent.kde.org";
owner = "libraries";
repo = pname;
rev = "v${version}";
sha256 = "sha256-+BByt07HMb4u6j9bVZqkUPvyRaElKvJ2MjKlPakL87E=";
};
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ qtbase qtdeclarative ];
cmakeFlags = ["-DQT_MAJOR_VERSION=${lib.versions.major qtbase.version}"];
dontWrapQtApps = true;
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;
};
}