about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libqaccessibilityclient/default.nix
blob: e05400114d0601c3a295980f6c697be576c6b1e2 (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
{ lib, stdenv, fetchurl, cmake, qtbase, extra-cmake-modules }:

stdenv.mkDerivation rec {
  pname = "libqaccessibilityclient";
  version = "0.5.0";

  src = fetchurl {
    url = "mirror://kde/stable/libqaccessibilityclient/libqaccessibilityclient-${version}.tar.xz";
    hash = "sha256-cEdyVDo7AFuUBhpT6vn51klE5oGLBMWcD7ClA8gaxKA=";
  };

  nativeBuildInputs = [ cmake extra-cmake-modules ];
  buildInputs = [ qtbase ];
  cmakeFlags = ["-DQT_MAJOR_VERSION=${lib.versions.major qtbase.version}"];

  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;
  };
}