2021-12-06 16:07:01 +00:00
|
|
|
{ lib, stdenv, fetchurl, cmake, qtbase, extra-cmake-modules }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libqaccessibilityclient";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0.6.0";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kde/stable/libqaccessibilityclient/libqaccessibilityclient-${version}.tar.xz";
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-TFDESGItycUEHtENp9h7Pk5xzLSdSDGoSSEdQjxfXTM=";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
|
|
|
buildInputs = [ qtbase ];
|
2024-01-13 08:15:51 +00:00
|
|
|
cmakeFlags = ["-DQT_MAJOR_VERSION=${lib.versions.major qtbase.version}"];
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Accessibilty tools helper library, used e.g. by screen readers";
|
|
|
|
homepage = "https://github.com/KDE/libqaccessibilityclient";
|
|
|
|
maintainers = with maintainers; [ artturin ];
|
|
|
|
license = with licenses; [ lgpl3Only /* or */ lgpl21Only ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|