2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, tcl, openssl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tcltls";
|
|
|
|
version = "1.6.7";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/tls/tls${version}-src.tar.gz";
|
|
|
|
sha256 = "1f53sfcnrridjl5ayrq1xrqkahs8khf8c3d0m2brndbhahzdw6ai";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ tcl openssl ];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-tcl=${tcl}/lib"
|
|
|
|
"--with-tclinclude=${tcl}/include"
|
|
|
|
"--with-ssl-dir=${openssl.dev}"
|
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
configureFlags="--exec_prefix=$prefix $configureFlags"
|
|
|
|
'';
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
libPrefix = "tls${version}";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://tls.sourceforge.net/";
|
|
|
|
description = "An OpenSSL / RSA-bsafe Tcl extension";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.tcltk;
|
|
|
|
platforms = lib.platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|