nixpkgs/pkgs/development/libraries/bwidget/default.nix

32 lines
704 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, tcl }:
2012-06-04 19:05:11 +01:00
stdenv.mkDerivation rec {
pname = "bwidget";
2019-12-08 04:14:51 +00:00
version = "1.9.14";
2012-06-04 19:05:11 +01:00
src = fetchurl {
url = "mirror://sourceforge/tcllib/bwidget-${version}.tar.gz";
sha256 = "0wm6hk3rnqhnn2cyw24drqwbfnysp6jyfi8lc1vih5k704a955lf";
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 = "https://sourceforge.net/projects/tcllib";
description = "High-level widget set for Tcl/Tk";
license = lib.licenses.tcltk;
platforms = lib.platforms.linux;
};
2012-06-04 19:05:11 +01:00
}