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

31 lines
682 B
Nix
Raw Normal View History

2012-06-04 20:05:11 +02:00
{ stdenv, fetchurl, tcl }:
stdenv.mkDerivation rec {
name = "bwidget-${version}";
2014-11-17 19:07:47 +01:00
version = "1.9.8";
2012-06-04 20:05:11 +02:00
src = fetchurl {
url = "mirror://sourceforge/tcllib/bwidget-${version}.tar.gz";
2014-11-17 19:07:47 +01:00
sha256 = "055kpl3ghznk028jnhzsa3p48qgipckfzn2liwq932crxviicl2l";
2012-06-04 20:05:11 +02:00
};
dontBuild = true;
installPhase = ''
mkdir -p "$out/lib/${passthru.libPrefix}"
cp -R *.tcl lang images "$out/lib/${passthru.libPrefix}"
2012-06-04 20:05:11 +02:00
'';
passthru = {
libPrefix = "bwidget${version}";
};
buildInputs = [ tcl ];
meta = {
homepage = "http://tcl.activestate.com/software/tcllib/";
description = "High-level widget set for Tcl/Tk";
license = stdenv.lib.licenses.tcltk;
};
2012-06-04 20:05:11 +02:00
}