1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00
nixpkgs/pkgs/development/libraries/bwidget/default.nix
aszlig bd130c34ec
bwidget: Add missing meta attributes.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2012-09-09 07:00:01 +02:00

31 lines
709 B
Nix

{ stdenv, fetchurl, tcl }:
stdenv.mkDerivation rec {
name = "bwidget-${version}";
version = "1.9.5";
src = fetchurl {
url = "mirror://sourceforge/tcllib/bwidget-${version}.tar.gz";
sha256 = "1njssjjvfalsfh37prkxwqi4hf0zj1d54qzggvjwpzkm424jjcii";
};
dontBuild = true;
installPhase = ''
ensureDir "$out/lib/${passthru.libPrefix}"
cp -R *.tcl lang images "$out/lib/${passthru.libPrefix}"
'';
passthru = {
libPrefix = "bwidget${version}";
};
buildInputs = [ tcl ];
meta = {
homepage = "http://tcl.activestate.com/software/tcllib/";
description = "The BWidget toolkit is a high-level widget set for Tcl/Tk.";
license = stdenv.lib.licenses.tcltk;
};
}