2012-06-04 18:05:11 +00:00
|
|
|
{ stdenv, fetchurl, tcl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "bwidget-${version}";
|
2014-11-17 18:07:47 +00:00
|
|
|
version = "1.9.8";
|
2012-06-04 18:05:11 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/tcllib/bwidget-${version}.tar.gz";
|
2014-11-17 18:07:47 +00:00
|
|
|
sha256 = "055kpl3ghznk028jnhzsa3p48qgipckfzn2liwq932crxviicl2l";
|
2012-06-04 18:05:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
2014-06-30 12:56:10 +00:00
|
|
|
mkdir -p "$out/lib/${passthru.libPrefix}"
|
2012-09-09 03:08:37 +00:00
|
|
|
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/";
|
2013-10-05 14:22:46 +00:00
|
|
|
description = "High-level widget set for Tcl/Tk";
|
2012-09-09 04:31:52 +00:00
|
|
|
license = stdenv.lib.licenses.tcltk;
|
|
|
|
};
|
2012-06-04 18:05:11 +00:00
|
|
|
}
|