1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 19:08:30 +00:00
nixpkgs/pkgs/development/libraries/bwidget/default.nix

32 lines
725 B
Nix
Raw Normal View History

2012-06-04 19:05:11 +01:00
{ stdenv, fetchurl, tcl }:
stdenv.mkDerivation rec {
name = "bwidget-${version}";
2016-05-15 12:14:02 +01:00
version = "1.9.10";
2012-06-04 19:05:11 +01:00
src = fetchurl {
url = "mirror://sourceforge/tcllib/bwidget-${version}.tar.gz";
2016-05-15 12:14:02 +01:00
sha256 = "025lmriaq4qqy99lh826wx2cnqqgxn7srz4m3q06bl6r9ch15hr6";
2012-06-04 19:05:11 +01:00
};
dontBuild = true;
installPhase = ''
mkdir -p "$out/lib/${passthru.libPrefix}"
cp -R *.tcl lang images "$out/lib/${passthru.libPrefix}"
2012-06-04 19:05:11 +01:00
'';
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;
};
2012-06-04 19:05:11 +01:00
}