depot/third_party/nixpkgs/pkgs/development/libraries/bwidget/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

31 lines
713 B
Nix

{ stdenv, fetchurl, tcl }:
stdenv.mkDerivation rec {
pname = "bwidget";
version = "1.9.14";
src = fetchurl {
url = "mirror://sourceforge/tcllib/bwidget-${version}.tar.gz";
sha256 = "0knlnpmwam74v0qa1h9gg4f32vzzz7ays2wbslflf51ilg7nw6jk";
};
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 = "https://sourceforge.net/projects/tcllib";
description = "High-level widget set for Tcl/Tk";
license = stdenv.lib.licenses.tcltk;
platforms = stdenv.lib.platforms.linux;
};
}