mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03: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];
|
|
}
|