mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 10:44:18 +00:00
tk: update to 8.4.18
svn path=/nixpkgs/trunk/; revision=12295
This commit is contained in:
parent
5f044d6f3f
commit
cff0831471
18
pkgs/development/libraries/tk/8.4.18.nix
Normal file
18
pkgs/development/libraries/tk/8.4.18.nix
Normal file
@ -0,0 +1,18 @@
|
||||
args: with args;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "tk-${version}";
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/tcl/tk${version}-src.tar.gz";
|
||||
sha256 = "065cbs82a8nklmj4867744skb3l3mqv14s8jwribk2wazzdb0mqp";
|
||||
};
|
||||
postInstall = ''
|
||||
echo -e '#! /bin/sh \n $( readlink -f $( type -tP wish${__substring 0 3 version}) ) "$@"' >$out/bin/wish
|
||||
chmod a+x $out/bin/wish
|
||||
'';
|
||||
configureFlags="--with-tcl=${tcl}/lib";
|
||||
preConfigure = "cd unix";
|
||||
|
||||
buildInputs = [tcl x11];
|
||||
inherit tcl;
|
||||
}
|
Loading…
Reference in New Issue
Block a user