2012-06-04 11:05:11 -07:00
|
|
|
{ stdenv, fetchurl, tcl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "bwidget";
|
2018-12-16 09:54:37 -08:00
|
|
|
version = "1.9.13";
|
2012-06-04 11:05:11 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/tcllib/bwidget-${version}.tar.gz";
|
2018-12-16 09:54:37 -08:00
|
|
|
sha256 = "109s81hzd86vwzs18v4s03asn3l395wl64kd311045p7h0ig9n3n";
|
2012-06-04 11:05:11 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
2014-06-30 05:56:10 -07:00
|
|
|
mkdir -p "$out/lib/${passthru.libPrefix}"
|
2012-09-08 20:08:37 -07:00
|
|
|
cp -R *.tcl lang images "$out/lib/${passthru.libPrefix}"
|
2012-06-04 11:05:11 -07:00
|
|
|
'';
|
|
|
|
|
2012-09-08 20:08:37 -07:00
|
|
|
passthru = {
|
|
|
|
libPrefix = "bwidget${version}";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ tcl ];
|
2012-09-08 21:31:52 -07:00
|
|
|
|
|
|
|
meta = {
|
2018-09-01 16:14:42 -07:00
|
|
|
homepage = https://sourceforge.net/projects/tcllib;
|
2013-10-05 07:22:46 -07:00
|
|
|
description = "High-level widget set for Tcl/Tk";
|
2012-09-08 21:31:52 -07:00
|
|
|
license = stdenv.lib.licenses.tcltk;
|
2016-08-02 10:50:55 -07:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2012-09-08 21:31:52 -07:00
|
|
|
};
|
2012-06-04 11:05:11 -07:00
|
|
|
}
|