mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 17:41:12 +00:00
28a725fcbe
This is what I forgot in the packages I have added a few months ago, so it's time to revisit them and improve things, like for example set the right libPrefix in order to stay consistent with other TCL libraries. In addition this fixes some whitespace ugliness in the affected packages. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
26 lines
615 B
Nix
26 lines
615 B
Nix
{ stdenv, fetchurl, tcl, openssl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "tcltls-${version}";
|
|
version = "1.6";
|
|
|
|
configureFlags = "--with-tcl=" + tcl + "/lib "
|
|
+ "--with-tclinclude=" + tcl + "/include "
|
|
+ "--with-ssl-dir=" + openssl;
|
|
|
|
preConfigure = ''
|
|
configureFlags="--exec_prefix=$prefix $configureFlags"
|
|
'';
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/tls/tls${version}-src.tar.gz";
|
|
sha256 = "adec50143a9ad634a671d24f7c7bbf2455487eb5f12d290f41797c32a98b93f3";
|
|
};
|
|
|
|
passthru = {
|
|
libPrefix = "tls${version}";
|
|
};
|
|
|
|
buildInputs = [ tcl openssl ];
|
|
}
|