3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/bwidget/default.nix

32 lines
721 B
Nix
Raw Normal View History

2012-06-04 19:05:11 +01:00
{ stdenv, fetchurl, tcl }:
stdenv.mkDerivation rec {
name = "bwidget-${version}";
version = "1.9.13";
2012-06-04 19:05:11 +01:00
src = fetchurl {
url = "mirror://sourceforge/tcllib/bwidget-${version}.tar.gz";
sha256 = "109s81hzd86vwzs18v4s03asn3l395wl64kd311045p7h0ig9n3n";
2012-06-04 19:05:11 +01:00
};
dontBuild = true;
installPhase = ''
mkdir -p "$out/lib/${passthru.libPrefix}"
cp -R *.tcl lang images "$out/lib/${passthru.libPrefix}"
2012-06-04 19:05:11 +01:00
'';
passthru = {
libPrefix = "bwidget${version}";
};
buildInputs = [ tcl ];
meta = {
2018-09-02 00:14:42 +01:00
homepage = https://sourceforge.net/projects/tcllib;
description = "High-level widget set for Tcl/Tk";
license = stdenv.lib.licenses.tcltk;
platforms = stdenv.lib.platforms.linux;
};
2012-06-04 19:05:11 +01:00
}