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