1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 05:25:38 +00:00
nixpkgs/pkgs/development/libraries/tcltls/default.nix

35 lines
780 B
Nix
Raw Normal View History

2012-06-04 19:08:56 +01:00
{ stdenv, fetchurl, tcl, openssl }:
stdenv.mkDerivation rec {
name = "tcltls-${version}";
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
};
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";
license = stdenv.lib.licenses.tcltk;
platforms = stdenv.lib.platforms.unix;
};
2012-06-04 19:08:56 +01:00
}