about summary refs log tree commit diff
path: root/pkgs/development/libraries/tcltls
diff options
context:
space:
mode:
authorAndrew Brooks <andrew.brooks@flightaware.com>2021-04-30 17:50:54 -0500
committerAndrew Brooks <andrew.brooks@flightaware.com>2021-05-21 15:18:07 -0500
commit5f3066af19a46a64e59bf2b0a62c1b60d49456e0 (patch)
treecd6dd816104ab3f0809c36fe011b812599e8dec0 /pkgs/development/libraries/tcltls
parent17a71176b06238bcecaf4a625570764ea6c71f30 (diff)
tcltls: Simplify package with tcl.mkTclDerivation
Diffstat (limited to 'pkgs/development/libraries/tcltls')
-rw-r--r--pkgs/development/libraries/tcltls/default.nix14
1 files changed, 2 insertions, 12 deletions
diff --git a/pkgs/development/libraries/tcltls/default.nix b/pkgs/development/libraries/tcltls/default.nix
index e88358bbce0a5..3fac78724ea27 100644
--- a/pkgs/development/libraries/tcltls/default.nix
+++ b/pkgs/development/libraries/tcltls/default.nix
@@ -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";