2012-06-04 19:08:56 +01:00
|
|
|
{ stdenv, fetchurl, tcl, openssl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "tcltls";
|
2017-02-02 03:37:29 +00:00
|
|
|
version = "1.6.7";
|
2012-06-04 19:08:56 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/tls/tls${version}-src.tar.gz";
|
2017-02-02 03:37:29 +00:00
|
|
|
sha256 = "1f53sfcnrridjl5ayrq1xrqkahs8khf8c3d0m2brndbhahzdw6ai";
|
2012-06-04 19:08:56 +01:00
|
|
|
};
|
|
|
|
|
2016-08-30 19:49:34 +01: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 04:08:37 +01:00
|
|
|
passthru = {
|
|
|
|
libPrefix = "tls${version}";
|
|
|
|
};
|
|
|
|
|
2012-09-09 05:38:25 +01:00
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://tls.sourceforge.net/";
|
2012-09-09 05:38:25 +01:00
|
|
|
description = "An OpenSSL / RSA-bsafe Tcl extension";
|
|
|
|
license = stdenv.lib.licenses.tcltk;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2012-09-09 05:38:25 +01:00
|
|
|
};
|
2012-06-04 19:08:56 +01:00
|
|
|
}
|