2012-06-04 22:05:11 +04:00
|
|
|
{ stdenv, fetchurl, tcl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "bwidget-${version}";
|
2018-03-08 06:33:22 +03:00
|
|
|
version = "1.9.12";
|
2012-06-04 22:05:11 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/tcllib/bwidget-${version}.tar.gz";
|
2018-03-08 06:33:22 +03:00
|
|
|
sha256 = "0qrj8k4zzrnhwgdn5dpa6j0q5j739myhwn60ssnqrzq77sljss1g";
|
2012-06-04 22:05:11 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
2014-06-30 16:56:10 +04:00
|
|
|
mkdir -p "$out/lib/${passthru.libPrefix}"
|
2012-09-09 07:08:37 +04:00
|
|
|
cp -R *.tcl lang images "$out/lib/${passthru.libPrefix}"
|
2012-06-04 22:05:11 +04:00
|
|
|
'';
|
|
|
|
|
2012-09-09 07:08:37 +04:00
|
|
|
passthru = {
|
|
|
|
libPrefix = "bwidget${version}";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ tcl ];
|
2012-09-09 08:31:52 +04:00
|
|
|
|
|
|
|
meta = {
|
2017-08-01 23:03:30 +03:00
|
|
|
homepage = http://tcl.activestate.com/software/tcllib/;
|
2013-10-05 18:22:46 +04:00
|
|
|
description = "High-level widget set for Tcl/Tk";
|
2012-09-09 08:31:52 +04:00
|
|
|
license = stdenv.lib.licenses.tcltk;
|
2016-08-02 20:50:55 +03:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2012-09-09 08:31:52 +04:00
|
|
|
};
|
2012-06-04 22:05:11 +04:00
|
|
|
}
|