Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions pkgs/development/libraries/qca-qt5/2.3.2.nix
Original file line number Diff line number Diff line change
@@ -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;
};
}
3 changes: 3 additions & 0 deletions pkgs/development/libraries/qca-qt5/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
}
3 changes: 3 additions & 0 deletions pkgs/top-level/qt5-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down