1 { stdenv, mkDerivation, lib, fetchFromGitHub, fetchpatch, autoreconfHook, pkg-config
2 , libtool, openssl, qtbase, qttools, sphinx }:
8 src = fetchFromGitHub {
11 rev = "RELEASE.${version}";
12 sha256 = "04z0mmjsry72nvib4icmwh1717y4q9pf2gr68ljrzln4vv4ckpwk";
15 # Adaptions to stay OpenSSL 3.0 compatible
16 patches = [ (fetchpatch {
17 url = "https://github.com/chris2511/xca/commit/f5ac099e948ea354deac75ff9fa09d51453476e1.patch";
18 hash = "sha256-4rRO2y9hZq879HTsgBgbXGRYEcgfG4niJKyK3l3PMZ8=";
21 buildInputs = [ libtool openssl qtbase ];
23 nativeBuildInputs = [ autoreconfHook pkg-config qttools sphinx ];
25 # Needed for qcollectiongenerator (see https://github.com/NixOS/nixpkgs/pull/92710)
26 QT_PLUGIN_PATH = "${qtbase}/${qtbase.qtPluginPrefix}";
28 enableParallelBuilding = true;
31 broken = stdenv.isDarwin;
32 description = "An x509 certificate generation tool, handling RSA, DSA and EC keys, certificate signing requests (PKCS#10) and CRLs";
33 homepage = "https://hohnstaedt.de/xca/";
34 license = licenses.bsd3;
35 maintainers = with maintainers; [ offline peterhoeg ];
36 platforms = platforms.all;