2018-05-30 06:10:47 +01:00
|
|
|
{ mkDerivation, lib, fetchFromGitHub, autoreconfHook, perl, pkgconfig, which
|
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 {
|
2013-10-07 11:57:09 +01:00
|
|
|
name = "xca-${version}";
|
2018-05-30 06:10:47 +01:00
|
|
|
version = "2.0.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}";
|
|
|
|
sha256 = "0906xnmqzd9q5irxzm19361vhzig9yqsmf6wsc3rggniix5bk3a8";
|
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
|
|
|
|
|
|
|
buildInputs = [ libtool openssl qtbase qttools ];
|
|
|
|
|
2018-05-30 06:10:47 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig which ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2016-10-21 05:27:01 +01:00
|
|
|
|
2017-03-03 19:34:33 +00:00
|
|
|
configureFlags = [ "CXXFLAGS=-std=c++11" ];
|
|
|
|
|
2017-05-17 20:26:11 +01:00
|
|
|
meta = with lib; {
|
2013-10-07 11:57:09 +01:00
|
|
|
description = "Interface for managing asymetric keys like RSA or DSA";
|
2018-02-14 00:16:34 +00:00
|
|
|
homepage = http://xca.sourceforge.net/;
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|