2022-05-28 13:28:44 +00:00
|
|
|
{ stdenv, mkDerivation, lib, fetchFromGitHub, autoreconfHook, pkg-config
|
2022-05-04 02:52:06 +00:00
|
|
|
, libtool, openssl, qtbase, qttools, sphinx }:
|
2016-10-21 04:27:01 +00:00
|
|
|
|
2017-05-17 19:26:11 +00:00
|
|
|
mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "xca";
|
2022-05-04 02:52:06 +00:00
|
|
|
version = "2.4.0";
|
2013-10-07 10:57:09 +00:00
|
|
|
|
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";
|
2013-10-07 10:57:09 +00:00
|
|
|
};
|
|
|
|
|
2018-09-14 08:23:11 +00:00
|
|
|
buildInputs = [ libtool openssl qtbase ];
|
2016-10-21 04:27:01 +00:00
|
|
|
|
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;
|
2016-10-21 04:27:01 +00:00
|
|
|
|
2017-05-17 19:26:11 +00:00
|
|
|
meta = with lib; {
|
2022-05-28 13:28:44 +00:00
|
|
|
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";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://hohnstaedt.de/xca/";
|
2018-02-14 00:16:34 +00:00
|
|
|
license = licenses.bsd3;
|
2016-10-21 04:27:01 +00:00
|
|
|
maintainers = with maintainers; [ offline peterhoeg ];
|
2018-02-14 00:16:34 +00:00
|
|
|
platforms = platforms.all;
|
2013-10-07 10:57:09 +00:00
|
|
|
};
|
|
|
|
}
|