2018-05-30 07:10:47 +02:00
|
|
|
{ mkDerivation, lib, fetchFromGitHub, autoreconfHook, perl, pkgconfig, which
|
2017-05-17 21:26:11 +02:00
|
|
|
, libtool, openssl, qtbase, qttools }:
|
2016-10-21 06:27:01 +02:00
|
|
|
|
2017-05-17 21:26:11 +02:00
|
|
|
mkDerivation rec {
|
2013-10-07 12:57:09 +02:00
|
|
|
name = "xca-${version}";
|
2018-08-02 07:43:37 +02:00
|
|
|
version = "2.1.0";
|
2013-10-07 12:57:09 +02:00
|
|
|
|
2018-05-30 07:10:47 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "chris2511";
|
|
|
|
repo = "xca";
|
|
|
|
rev = "RELEASE.${version}";
|
2018-08-02 07:43:37 +02:00
|
|
|
sha256 = "039qz6hh43hx8dcw2bq71mgy95zk09jyd3xxpldmxxd5d69zcr8m";
|
2013-10-07 12:57:09 +02:00
|
|
|
};
|
|
|
|
|
2018-05-30 07:10:47 +02:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace doc/code2html \
|
2018-05-30 09:01:02 +02:00
|
|
|
--replace /usr/bin/perl ${perl}/bin/perl
|
2018-05-30 07:10:47 +02:00
|
|
|
'';
|
2016-10-21 06:27:01 +02:00
|
|
|
|
|
|
|
buildInputs = [ libtool openssl qtbase qttools ];
|
|
|
|
|
2018-05-30 07:10:47 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig which ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2016-10-21 06:27:01 +02:00
|
|
|
|
2017-05-17 21:26:11 +02:00
|
|
|
meta = with lib; {
|
2013-10-07 12:57:09 +02:00
|
|
|
description = "Interface for managing asymetric keys like RSA or DSA";
|
2018-02-14 01:16:34 +01:00
|
|
|
homepage = http://xca.sourceforge.net/;
|
|
|
|
license = licenses.bsd3;
|
2016-10-21 06:27:01 +02:00
|
|
|
maintainers = with maintainers; [ offline peterhoeg ];
|
2018-02-14 01:16:34 +01:00
|
|
|
platforms = platforms.all;
|
2013-10-07 12:57:09 +02:00
|
|
|
};
|
|
|
|
}
|