2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, tcl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "bwidget";
|
|
|
|
version = "1.9.14";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/tcllib/bwidget-${version}.tar.gz";
|
2020-05-03 17:38:23 +00:00
|
|
|
sha256 = "0wm6hk3rnqhnn2cyw24drqwbfnysp6jyfi8lc1vih5k704a955lf";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p "$out/lib/${passthru.libPrefix}"
|
|
|
|
cp -R *.tcl lang images "$out/lib/${passthru.libPrefix}"
|
|
|
|
'';
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
libPrefix = "bwidget${version}";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ tcl ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://sourceforge.net/projects/tcllib";
|
|
|
|
description = "High-level widget set for Tcl/Tk";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.tcltk;
|
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|