diff options
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/qca-qt5/2.3.2.nix | 30 | ||||
-rw-r--r-- | pkgs/development/libraries/qca-qt5/default.nix | 3 | ||||
-rw-r--r-- | pkgs/top-level/qt5-packages.nix | 3 |
3 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/development/libraries/qca-qt5/2.3.2.nix b/pkgs/development/libraries/qca-qt5/2.3.2.nix new file mode 100644 index 0000000000000..098fbacc7ff53 --- /dev/null +++ b/pkgs/development/libraries/qca-qt5/2.3.2.nix @@ -0,0 +1,30 @@ +{ lib, stdenv, fetchurl, cmake, openssl, pkg-config, qtbase }: + +stdenv.mkDerivation rec { + pname = "qca-qt5"; + version = "2.3.2"; + + src = fetchurl { + url = "http://download.kde.org/stable/qca/${version}/qca-${version}.tar.xz"; + sha256 = "sha256-RpdgAjfEvDqXnofSzIBiTyewYoDmNfXZDsfdTSqfYG0="; + }; + + buildInputs = [ openssl qtbase ]; + nativeBuildInputs = [ cmake pkg-config ]; + + dontWrapQtApps = true; + + # tells CMake to use this CA bundle file if it is accessible + preConfigure = "export QC_CERTSTORE_PATH=/etc/ssl/certs/ca-certificates.crt"; + + # tricks CMake into using this CA bundle file if it is not accessible (in a sandbox) + cmakeFlags = [ "-Dqca_CERTSTORE=/etc/ssl/certs/ca-certificates.crt" ]; + + meta = with lib; { + description = "Qt 5 Cryptographic Architecture"; + homepage = "http://delta.affinix.com/qca"; + maintainers = with maintainers; [ ttuegel ]; + license = licenses.lgpl21Plus; + platforms = with platforms; unix; + }; +} diff --git a/pkgs/development/libraries/qca-qt5/default.nix b/pkgs/development/libraries/qca-qt5/default.nix index d10ebbdd4b772..b85a3ad8c7a71 100644 --- a/pkgs/development/libraries/qca-qt5/default.nix +++ b/pkgs/development/libraries/qca-qt5/default.nix @@ -26,5 +26,8 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ ttuegel ]; license = licenses.lgpl21Plus; platforms = with platforms; unix; + # until macOS SDK supports Qt 5.15, 2.3.2 is the highest version of qca-qt5 + # that works on darwin + broken = stdenv.isDarwin; }; } diff --git a/pkgs/top-level/qt5-packages.nix b/pkgs/top-level/qt5-packages.nix index 4b00b704d5fbe..081fa0c850265 100644 --- a/pkgs/top-level/qt5-packages.nix +++ b/pkgs/top-level/qt5-packages.nix @@ -176,6 +176,9 @@ in (kdeFrameworks // plasmaMobileGear // plasma5 // plasma5.thirdParty // kdeGea qca-qt5 = callPackage ../development/libraries/qca-qt5 { }; + # Until macOS SDK allows for Qt 5.15, darwin is limited to 2.3.2 + qca-qt5_2_3_2 = callPackage ../development/libraries/qca-qt5/2.3.2.nix { }; + qcoro = callPackage ../development/libraries/qcoro { }; qcsxcad = callPackage ../development/libraries/science/electronics/qcsxcad { }; |