1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
nixpkgs/pkgs/development/libraries/incrtcl/default.nix
Evgeny Egorochkin cd9d20d2e7 incrTcl: packaged
svn path=/nixpkgs/trunk/; revision=24279
2010-10-14 11:54:13 +00:00

30 lines
738 B
Nix

{stdenv, fetchurl, tcl}:
stdenv.mkDerivation rec {
name = "incrtcl-${version}";
version = "3.4b1";
src = fetchurl {
url = mirror://sourceforge/incrtcl/%5BIncr%20Tcl_Tk%5D-source/3.4/itcl3.4b1.tar.gz;
sha256 = "0226vf7vmb7qmk9bcic635d33rm3gr1wqk5rpx6pf00bq3vgr6fw";
};
buildInputs = [ tcl ];
configureFlags = [ "--with-tcl=${tcl}/lib" ];
patchPhase = ''
substituteInPlace configure --replace "\''${TCL_SRC_DIR}/generic" "${tcl}/include"
'';
preConfigure = ''
configureFlags="--exec_prefix=$prefix $configureFlags"
'';
passthru = {
libPrefix = "itcl3.4";
};
meta = {
homepage = http://incrtcl.sourceforge.net/;
description = "Object Oriented Enhancements for Tcl/Tk";
};
}