2021-05-07 23:25:33 +00:00
|
|
|
{ lib, fetchurl, tcl, tk }:
|
2012-06-04 18:05:11 +00:00
|
|
|
|
2021-05-11 15:17:28 +00:00
|
|
|
tcl.mkTclDerivation rec {
|
2021-04-30 23:13:16 +00:00
|
|
|
pname = "bwidget";
|
2021-05-11 15:17:28 +00:00
|
|
|
version = "1.9.14";
|
2012-06-04 18:05:11 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/tcllib/bwidget-${version}.tar.gz";
|
2020-05-01 12:37:13 +00:00
|
|
|
sha256 = "0wm6hk3rnqhnn2cyw24drqwbfnysp6jyfi8lc1vih5k704a955lf";
|
2012-06-04 18:05:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
dontBuild = true;
|
2021-05-11 15:16:16 +00:00
|
|
|
propagatedBuildInputs = [ tk ];
|
2012-06-04 18:05:11 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
2021-05-11 15:16:57 +00:00
|
|
|
mkdir -p "$out/lib/bwidget${version}"
|
|
|
|
cp -R *.tcl lang images "$out/lib/bwidget${version}"
|
2012-06-04 18:05:11 +00:00
|
|
|
'';
|
|
|
|
|
2012-09-09 04:31:52 +00:00
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://sourceforge.net/projects/tcllib";
|
2013-10-05 14:22:46 +00:00
|
|
|
description = "High-level widget set for Tcl/Tk";
|
2021-05-07 23:25:33 +00:00
|
|
|
maintainers = with lib.maintainers; [ agbrooks ];
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.tcltk;
|
|
|
|
platforms = lib.platforms.linux;
|
2012-09-09 04:31:52 +00:00
|
|
|
};
|
2012-06-04 18:05:11 +00:00
|
|
|
}
|