diff --git a/pkgs/development/libraries/bwidget/default.nix b/pkgs/development/libraries/bwidget/default.nix new file mode 100644 index 000000000000..693e0587a0b2 --- /dev/null +++ b/pkgs/development/libraries/bwidget/default.nix @@ -0,0 +1,20 @@ +{ 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]; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4328c7c7d367..e5ca5013e1f3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3220,6 +3220,8 @@ let buddy = callPackage ../development/libraries/buddy { }; + bwidget = callPackage ../development/libraries/bwidget { }; + caelum = callPackage ../development/libraries/caelum { }; cairomm = callPackage ../development/libraries/cairomm { };