mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 15:15:36 +00:00
21 lines
410 B
Nix
21 lines
410 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/tcltk"
|
|
cp -R *.tcl lang images "$out/tcltk/"
|
|
'';
|
|
|
|
buildInputs = [tcl];
|
|
}
|