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