2021-05-08 00:25:33 +01:00
|
|
|
{ lib, fetchurl, tcl, tk }:
|
2012-06-04 19:05:11 +01:00
|
|
|
|
2021-05-11 16:17:28 +01:00
|
|
|
tcl.mkTclDerivation rec {
|
2021-05-01 00:13:16 +01:00
|
|
|
pname = "bwidget";
|
2021-05-11 16:17:28 +01: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;
|
2021-05-11 16:16:16 +01:00
|
|
|
propagatedBuildInputs = [ tk ];
|
2012-06-04 19:05:11 +01:00
|
|
|
|
|
|
|
installPhase = ''
|
2021-05-11 16:16:57 +01:00
|
|
|
mkdir -p "$out/lib/bwidget${version}"
|
|
|
|
cp -R *.tcl lang images "$out/lib/bwidget${version}"
|
2012-06-04 19:05:11 +01:00
|
|
|
'';
|
|
|
|
|
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";
|
2021-05-08 00:25:33 +01: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 05:31:52 +01:00
|
|
|
};
|
2012-06-04 19:05:11 +01:00
|
|
|
}
|