mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 09:53:17 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
35 lines
770 B
Nix
35 lines
770 B
Nix
{ stdenv, fetchurl, tcl, openssl }:
|
|
|
|
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";
|
|
license = stdenv.lib.licenses.tcltk;
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|