2016-10-21 05:27:01 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, which, makeQtWrapper,
|
|
|
|
libtool, openssl, qtbase, qttools }:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
2013-10-07 11:57:09 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "xca-${version}";
|
2015-12-02 22:01:00 +00:00
|
|
|
version = "1.3.2";
|
2013-10-07 11:57:09 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/xca/${name}.tar.gz";
|
2015-12-02 22:01:00 +00:00
|
|
|
sha256 = "1r2w9gpahjv221j963bd4vn0gj4cxmb9j42f3cd9qdn890hizw84";
|
2013-10-07 11:57:09 +01:00
|
|
|
};
|
|
|
|
|
2016-10-21 05:27:01 +01:00
|
|
|
enableParallelBuilding = false;
|
|
|
|
|
|
|
|
buildInputs = [ libtool openssl qtbase qttools ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ makeQtWrapper pkgconfig which ];
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
substituteInPlace Local.mak \
|
|
|
|
--replace ${qtbase}/bin/moc ${qtbase.dev}/bin/moc \
|
|
|
|
--replace ${qtbase}/bin/uic ${qtbase.dev}/bin/uic
|
2014-05-20 21:57:03 +01:00
|
|
|
'';
|
|
|
|
|
2016-10-21 05:27:01 +01:00
|
|
|
postInstall = ''
|
|
|
|
wrapQtProgram "$out/bin/xca"
|
|
|
|
wrapQtProgram "$out/bin/xca_db_stat"
|
|
|
|
'';
|
2013-10-07 11:57:09 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Interface for managing asymetric keys like RSA or DSA";
|
|
|
|
homepage = http://xca.sourceforge.net/;
|
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.bsd3;
|
2016-10-21 05:27:01 +01:00
|
|
|
maintainers = with maintainers; [ offline peterhoeg ];
|
2013-10-07 11:57:09 +01:00
|
|
|
};
|
|
|
|
}
|