2021-06-28 23:13:55 +00:00
|
|
|
{ lib, fetchurl, tcl, tk }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
tcl.mkTclDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "bwidget";
|
2023-01-20 10:41:00 +00:00
|
|
|
version = "1.9.16";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/tcllib/bwidget-${version}.tar.gz";
|
2023-01-20 10:41:00 +00:00
|
|
|
sha256 = "sha256-v+ADY3S4QpPSNiCn9t2oZXGBPQx63+2YPB8zflzoGuA=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
dontBuild = true;
|
2021-06-28 23:13:55 +00:00
|
|
|
propagatedBuildInputs = [ tk ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
2021-06-28 23:13:55 +00:00
|
|
|
mkdir -p "$out/lib/bwidget${version}"
|
|
|
|
cp -R *.tcl lang images "$out/lib/bwidget${version}"
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://sourceforge.net/projects/tcllib";
|
|
|
|
description = "High-level widget set for Tcl/Tk";
|
2021-06-28 23:13:55 +00:00
|
|
|
maintainers = with lib.maintainers; [ agbrooks ];
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.tcltk;
|
2022-06-16 17:23:12 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|