nixpkgs/pkgs/development/libraries/bwidget/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
694 B
Nix
Raw Normal View History

2021-05-07 23:25:33 +00:00
{ lib, fetchurl, tcl, tk }:
2012-06-04 18:05:11 +00:00
tcl.mkTclDerivation rec {
pname = "bwidget";
2023-01-17 18:35:02 +00:00
version = "1.9.16";
2012-06-04 18:05:11 +00:00
src = fetchurl {
url = "mirror://sourceforge/tcllib/bwidget-${version}.tar.gz";
2023-01-17 18:35:02 +00:00
sha256 = "sha256-v+ADY3S4QpPSNiCn9t2oZXGBPQx63+2YPB8zflzoGuA=";
2012-06-04 18:05:11 +00:00
};
dontBuild = true;
propagatedBuildInputs = [ tk ];
2012-06-04 18:05:11 +00:00
installPhase = ''
mkdir -p "$out/lib/bwidget${version}"
cp -R *.tcl lang images "$out/lib/bwidget${version}"
2012-06-04 18:05:11 +00:00
'';
meta = {
homepage = "https://sourceforge.net/projects/tcllib";
description = "High-level widget set for Tcl/Tk";
2021-05-07 23:25:33 +00:00
maintainers = with lib.maintainers; [ agbrooks ];
license = lib.licenses.tcltk;
2022-06-01 15:35:14 +00:00
platforms = lib.platforms.unix;
};
2012-06-04 18:05:11 +00:00
}