1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/pkgs/development/libraries/tcltls/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

35 lines
780 B
Nix

{ stdenv, fetchurl, tcl, openssl }:
stdenv.mkDerivation rec {
name = "tcltls-${version}";
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;
};
}