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