2021-01-17 02:09:27 +00:00
|
|
|
{ mkDerivation, lib, fetchFromGitHub, autoreconfHook, perl, pkg-config
|
2017-05-17 20:26:11 +01:00
|
|
|
, libtool, openssl, qtbase, qttools }:
|
2016-10-21 05:27:01 +01:00
|
|
|
|
2017-05-17 20:26:11 +01:00
|
|
|
mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "xca";
|
2020-01-31 14:08:54 +00:00
|
|
|
version = "2.2.1";
|
2013-10-07 11:57:09 +01:00
|
|
|
|
2018-05-30 06:10:47 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "chris2511";
|
|
|
|
repo = "xca";
|
|
|
|
rev = "RELEASE.${version}";
|
2020-01-31 14:08:54 +00:00
|
|
|
sha256 = "0na2816lkfkkvssh9kmf5vwy6x8kd4x7h138jzy61wrvs69vhnbi";
|
2013-10-07 11:57:09 +01:00
|
|
|
};
|
|
|
|
|
2018-05-30 06:10:47 +01:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace doc/code2html \
|
2018-05-30 08:01:02 +01:00
|
|
|
--replace /usr/bin/perl ${perl}/bin/perl
|
2018-05-30 06:10:47 +01:00
|
|
|
'';
|
2016-10-21 05:27:01 +01:00
|
|
|
|
2018-09-14 09:23:11 +01:00
|
|
|
buildInputs = [ libtool openssl qtbase ];
|
2016-10-21 05:27:01 +01:00
|
|
|
|
2021-01-17 02:09:27 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config qttools ];
|
2018-05-30 06:10:47 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2016-10-21 05:27:01 +01:00
|
|
|
|
2017-05-17 20:26:11 +01:00
|
|
|
meta = with lib; {
|
2018-09-14 09:23:11 +01:00
|
|
|
description = "An x509 certificate generation tool, handling RSA, DSA and EC keys, certificate signing requests (PKCS#10) and CRLs";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://hohnstaedt.de/xca/";
|
2018-02-14 00:16:34 +00:00
|
|
|
license = licenses.bsd3;
|
2016-10-21 05:27:01 +01:00
|
|
|
maintainers = with maintainers; [ offline peterhoeg ];
|
2018-02-14 00:16:34 +00:00
|
|
|
platforms = platforms.all;
|
2013-10-07 11:57:09 +01:00
|
|
|
};
|
|
|
|
}
|