2014-05-20 21:57:03 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, which, openssl, qt4, libtool, gcc, makeWrapper }:
|
2013-10-07 11:57:09 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "xca-${version}";
|
2015-08-31 19:20:58 +01:00
|
|
|
version = "1.3.1";
|
2013-10-07 11:57:09 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/xca/${name}.tar.gz";
|
2015-08-31 19:20:58 +01:00
|
|
|
sha256 = "10rxma0zm7vryzv69m0aqlvmbf82d261wa77kxni4h3lndwqvpf2";
|
2013-10-07 11:57:09 +01:00
|
|
|
};
|
|
|
|
|
2014-05-20 21:57:03 +01:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram "$out/bin/xca" \
|
2015-01-15 04:44:00 +00:00
|
|
|
--prefix LD_LIBRARY_PATH : "${qt4}/lib:${gcc.cc}/lib:${gcc.cc}/lib64:${openssl}/lib:${libtool}/lib"
|
2014-05-20 21:57:03 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ openssl qt4 libtool gcc makeWrapper ];
|
2013-10-07 11:57:09 +01: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;
|
|
|
|
};
|
|
|
|
}
|