nixpkgs/pkgs/applications/misc/xca/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
1.3 KiB
Nix
Raw Normal View History

2022-11-02 05:31:10 +00:00
{ stdenv, mkDerivation, lib, fetchFromGitHub, fetchpatch, autoreconfHook, pkg-config
2022-05-04 02:52:06 +00:00
, libtool, openssl, qtbase, qttools, sphinx }:
2017-05-17 19:26:11 +00:00
mkDerivation rec {
pname = "xca";
2022-05-04 02:52:06 +00:00
version = "2.4.0";
2018-05-30 05:10:47 +00:00
src = fetchFromGitHub {
owner = "chris2511";
repo = "xca";
rev = "RELEASE.${version}";
2022-05-04 02:52:06 +00:00
sha256 = "04z0mmjsry72nvib4icmwh1717y4q9pf2gr68ljrzln4vv4ckpwk";
};
2022-11-02 05:31:10 +00:00
# Adaptions to stay OpenSSL 3.0 compatible
patches = [ (fetchpatch {
url = "https://github.com/chris2511/xca/commit/f5ac099e948ea354deac75ff9fa09d51453476e1.patch";
hash = "sha256-4rRO2y9hZq879HTsgBgbXGRYEcgfG4niJKyK3l3PMZ8=";
}) ];
2018-09-14 08:23:11 +00:00
buildInputs = [ libtool openssl qtbase ];
2022-05-04 02:52:06 +00:00
nativeBuildInputs = [ autoreconfHook pkg-config qttools sphinx ];
# Needed for qcollectiongenerator (see https://github.com/NixOS/nixpkgs/pull/92710)
QT_PLUGIN_PATH = "${qtbase}/${qtbase.qtPluginPrefix}";
2018-05-30 05:10:47 +00:00
enableParallelBuilding = true;
2017-05-17 19:26:11 +00:00
meta = with lib; {
broken = stdenv.isDarwin;
2018-09-14 08:23:11 +00:00
description = "An x509 certificate generation tool, handling RSA, DSA and EC keys, certificate signing requests (PKCS#10) and CRLs";
homepage = "https://hohnstaedt.de/xca/";
2018-02-14 00:16:34 +00:00
license = licenses.bsd3;
maintainers = with maintainers; [ offline peterhoeg ];
2018-02-14 00:16:34 +00:00
platforms = platforms.all;
};
}