Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, cmake, qtbase, extra-cmake-modules }: 2 3stdenv.mkDerivation rec { 4 pname = "libqaccessibilityclient"; 5 version = "0.6.0"; 6 7 src = fetchurl { 8 url = "mirror://kde/stable/libqaccessibilityclient/libqaccessibilityclient-${version}.tar.xz"; 9 hash = "sha256-TFDESGItycUEHtENp9h7Pk5xzLSdSDGoSSEdQjxfXTM="; 10 }; 11 12 nativeBuildInputs = [ cmake extra-cmake-modules ]; 13 buildInputs = [ qtbase ]; 14 cmakeFlags = ["-DQT_MAJOR_VERSION=${lib.versions.major qtbase.version}"]; 15 16 outputs = [ "out" "dev" ]; 17 18 dontWrapQtApps = true; 19 20 meta = with lib; { 21 description = "Accessibilty tools helper library, used e.g. by screen readers"; 22 homepage = "https://github.com/KDE/libqaccessibilityclient"; 23 maintainers = with maintainers; [ artturin ]; 24 license = with licenses; [ lgpl3Only /* or */ lgpl21Only ]; 25 platforms = platforms.linux; 26 }; 27}