mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
tcltls: Simplify package with tcl.mkTclDerivation
This commit is contained in:
parent
17a71176b0
commit
5f3066af19
|
@ -1,6 +1,6 @@
|
|||
{ lib, stdenv, fetchurl, tcl, openssl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
tcl.mkTclDerivation rec {
|
||||
pname = "tcltls";
|
||||
version = "1.6.7";
|
||||
|
||||
|
@ -9,22 +9,12 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1f53sfcnrridjl5ayrq1xrqkahs8khf8c3d0m2brndbhahzdw6ai";
|
||||
};
|
||||
|
||||
buildInputs = [ tcl openssl ];
|
||||
buildInputs = [ 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";
|
||||
|
|
Loading…
Reference in a new issue