2014-05-20 22:57:03 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, which, openssl, qt4, libtool, gcc, makeWrapper }:
|
2013-10-07 12:57:09 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2014-05-20 22:57:03 +02:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram "$out/bin/xca" \
|
2015-10-06 13:23:53 +02:00
|
|
|
--prefix LD_LIBRARY_PATH : \
|
|
|
|
"${gcc.cc.lib}/lib64:${stdenv.lib.makeLibraryPath [ qt4 gcc.cc openssl libtool ]}"
|
2014-05-20 22:57:03 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ openssl qt4 libtool gcc makeWrapper ];
|
2013-10-07 12:57:09 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|