depot/third_party/nixpkgs/pkgs/development/libraries/bwidget/default.nix
Default email 24fdeddc0a Project import generated by Copybara.
GitOrigin-RevId: 2768c7d042a37de65bb1b5b3268fc987e534c49d
2024-10-23 09:41:50 +03:00

27 lines
694 B
Nix

{ lib, fetchurl, tcl, tk }:
tcl.mkTclDerivation rec {
pname = "bwidget";
version = "1.10.0";
src = fetchurl {
url = "mirror://sourceforge/tcllib/bwidget-${version}.tar.gz";
sha256 = "sha256-61sCvsua+Iv3SldHhd4eMpzzCjZ5EVMJOnkRT6xRw60=";
};
dontBuild = true;
propagatedBuildInputs = [ tk ];
installPhase = ''
mkdir -p "$out/lib/bwidget${version}"
cp -R *.tcl lang images "$out/lib/bwidget${version}"
'';
meta = {
homepage = "https://sourceforge.net/projects/tcllib";
description = "High-level widget set for Tcl/Tk";
maintainers = with lib.maintainers; [ agbrooks ];
license = lib.licenses.tcltk;
platforms = lib.platforms.unix;
};
}