2012-06-04 18:05:11 +00:00
|
|
|
{ stdenv, fetchurl, tcl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "bwidget-${version}";
|
|
|
|
version = "1.9.5";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/tcllib/bwidget-${version}.tar.gz";
|
|
|
|
sha256 = "1njssjjvfalsfh37prkxwqi4hf0zj1d54qzggvjwpzkm424jjcii";
|
|
|
|
};
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
2012-09-09 03:08:37 +00:00
|
|
|
ensureDir "$out/lib/${passthru.libPrefix}"
|
|
|
|
cp -R *.tcl lang images "$out/lib/${passthru.libPrefix}"
|
2012-06-04 18:05:11 +00:00
|
|
|
'';
|
|
|
|
|
2012-09-09 03:08:37 +00:00
|
|
|
passthru = {
|
|
|
|
libPrefix = "bwidget${version}";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ tcl ];
|
2012-09-09 04:31:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://tcl.activestate.com/software/tcllib/";
|
|
|
|
description = "The BWidget toolkit is a high-level widget set for Tcl/Tk.";
|
|
|
|
license = stdenv.lib.licenses.tcltk;
|
|
|
|
};
|
2012-06-04 18:05:11 +00:00
|
|
|
}
|