00a44c0c8c
Semi-automatic update. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 1.9.12 with grep in /nix/store/5rrcmy0g4sj5q2yhxxyczgddnjhgjfxm-bwidget-1.9.12 - found 1.9.12 in filename of file in /nix/store/5rrcmy0g4sj5q2yhxxyczgddnjhgjfxm-bwidget-1.9.12
31 lines
725 B
Nix
31 lines
725 B
Nix
{ stdenv, fetchurl, tcl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "bwidget-${version}";
|
|
version = "1.9.12";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/tcllib/bwidget-${version}.tar.gz";
|
|
sha256 = "0qrj8k4zzrnhwgdn5dpa6j0q5j739myhwn60ssnqrzq77sljss1g";
|
|
};
|
|
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
mkdir -p "$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 = "High-level widget set for Tcl/Tk";
|
|
license = stdenv.lib.licenses.tcltk;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|