depot/third_party/nixpkgs/pkgs/development/libraries/tclx/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

27 lines
673 B
Nix

{ stdenv, fetchurl, tcl }:
stdenv.mkDerivation rec {
name = "tclx-${version}.${patch}";
version = "8.4";
patch = "1";
src = fetchurl {
url = "mirror://sourceforge/tclx/tclx${version}.${patch}.tar.bz2";
sha256 = "1v2qwzzidz0is58fd1p7wfdbscxm3ip2wlbqkj5jdhf6drh1zd59";
};
passthru = {
libPrefix = ""; # Using tclx${version} did not work
};
buildInputs = [ tcl ];
configureFlags = [ "--with-tcl=${tcl}/lib" "--exec-prefix=\${prefix}" ];
meta = {
homepage = "http://tclx.sourceforge.net/";
description = "Tcl extensions";
license = stdenv.lib.licenses.tcltk;
maintainers = with stdenv.lib.maintainers; [ kovirobi ];
};
}