2017-05-17 21:26:11 +02:00
|
|
|
{ mkDerivation, lib, fetchurl, pkgconfig, which
|
|
|
|
, libtool, openssl, qtbase, qttools }:
|
2016-10-21 06:27:01 +02:00
|
|
|
|
2017-05-17 21:26:11 +02:00
|
|
|
with lib;
|
2013-10-07 12:57:09 +02:00
|
|
|
|
2017-05-17 21:26:11 +02:00
|
|
|
mkDerivation rec {
|
2013-10-07 12:57:09 +02:00
|
|
|
name = "xca-${version}";
|
2015-12-02 23:01:00 +01:00
|
|
|
version = "1.3.2";
|
2013-10-07 12:57:09 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/xca/${name}.tar.gz";
|
2015-12-02 23:01:00 +01:00
|
|
|
sha256 = "1r2w9gpahjv221j963bd4vn0gj4cxmb9j42f3cd9qdn890hizw84";
|
2013-10-07 12:57:09 +02:00
|
|
|
};
|
|
|
|
|
2017-04-28 02:32:24 +02:00
|
|
|
enableParallelBuilding = true;
|
2016-10-21 06:27:01 +02:00
|
|
|
|
|
|
|
buildInputs = [ libtool openssl qtbase qttools ];
|
|
|
|
|
2017-05-17 21:26:11 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig which ];
|
2016-10-21 06:27:01 +02:00
|
|
|
|
2017-03-03 20:34:33 +01:00
|
|
|
configureFlags = [ "CXXFLAGS=-std=c++11" ];
|
|
|
|
|
2016-10-21 06:27:01 +02:00
|
|
|
preBuild = ''
|
|
|
|
substituteInPlace Local.mak \
|
|
|
|
--replace ${qtbase}/bin/moc ${qtbase.dev}/bin/moc \
|
|
|
|
--replace ${qtbase}/bin/uic ${qtbase.dev}/bin/uic
|
2014-05-20 22:57:03 +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";
|
|
|
|
homepage = http://xca.sourceforge.net/;
|
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.bsd3;
|
2016-10-21 06:27:01 +02:00
|
|
|
maintainers = with maintainers; [ offline peterhoeg ];
|
2017-04-28 02:32:24 +02:00
|
|
|
broken = builtins.compareVersions qtbase.version "5.7.0" == 0;
|
2013-10-07 12:57:09 +02:00
|
|
|
};
|
|
|
|
}
|