2018-09-14 08:23:11 +00:00
|
|
|
{ mkDerivation, lib, fetchFromGitHub, autoreconfHook, perl, pkgconfig
|
2017-05-17 19:26:11 +00:00
|
|
|
, libtool, openssl, qtbase, qttools }:
|
2016-10-21 04:27:01 +00:00
|
|
|
|
2017-05-17 19:26:11 +00:00
|
|
|
mkDerivation rec {
|
2013-10-07 10:57:09 +00:00
|
|
|
name = "xca-${version}";
|
2018-11-08 09:27:42 +00:00
|
|
|
version = "2.1.2";
|
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}";
|
2018-11-08 09:27:42 +00:00
|
|
|
sha256 = "0slfqmz0b01lwmrv4h78hmrsdrhcyc7sjzsxcw05ylgmhvdq3dw9";
|
2013-10-07 10:57:09 +00:00
|
|
|
};
|
|
|
|
|
2018-05-30 05:10:47 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace doc/code2html \
|
2018-05-30 07:01:02 +00:00
|
|
|
--replace /usr/bin/perl ${perl}/bin/perl
|
2018-05-30 05:10:47 +00:00
|
|
|
'';
|
2016-10-21 04:27:01 +00:00
|
|
|
|
2018-09-14 08:23:11 +00:00
|
|
|
buildInputs = [ libtool openssl qtbase ];
|
2016-10-21 04:27:01 +00:00
|
|
|
|
2018-09-14 08:23:11 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig qttools ];
|
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; {
|
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;
|
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
|
|
|
};
|
|
|
|
}
|