2012-06-04 20:08:56 +02:00
|
|
|
{ stdenv, fetchurl, tcl, openssl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "tcltls-${version}";
|
|
|
|
version = "1.6";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/tls/tls${version}-src.tar.gz";
|
|
|
|
sha256 = "adec50143a9ad634a671d24f7c7bbf2455487eb5f12d290f41797c32a98b93f3";
|
|
|
|
};
|
|
|
|
|
2016-08-30 20:49:34 +02:00
|
|
|
buildInputs = [ tcl openssl ];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-tcl=${tcl}/lib"
|
|
|
|
"--with-tclinclude=${tcl}/include"
|
|
|
|
"--with-ssl-dir=${openssl.dev}"
|
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
configureFlags="--exec_prefix=$prefix $configureFlags"
|
|
|
|
'';
|
|
|
|
|
2012-09-09 05:08:37 +02:00
|
|
|
passthru = {
|
|
|
|
libPrefix = "tls${version}";
|
|
|
|
};
|
|
|
|
|
2012-09-09 06:38:25 +02:00
|
|
|
meta = {
|
|
|
|
homepage = "http://tls.sourceforge.net/";
|
|
|
|
description = "An OpenSSL / RSA-bsafe Tcl extension";
|
|
|
|
license = stdenv.lib.licenses.tcltk;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2012-09-09 06:38:25 +02:00
|
|
|
};
|
2012-06-04 20:08:56 +02:00
|
|
|
}
|