forked from mirrors/nixpkgs
add tk
svn path=/nixpkgs/trunk/; revision=5870
This commit is contained in:
parent
3563604395
commit
d53ae3e6a3
9
pkgs/development/libraries/tk/builder.sh
Normal file
9
pkgs/development/libraries/tk/builder.sh
Normal file
|
@ -0,0 +1,9 @@
|
|||
source $stdenv/setup
|
||||
|
||||
preConfigure() {
|
||||
cd unix
|
||||
}
|
||||
|
||||
preConfigure=preConfigure
|
||||
|
||||
genericBuild
|
11
pkgs/development/libraries/tk/default.nix
Normal file
11
pkgs/development/libraries/tk/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{stdenv, fetchurl, tcl, x11}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "tk-8.4.13";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://heanet.dl.sourceforge.net/sourceforge/tcl/tk8.4.13-src.tar.gz;
|
||||
md5 = "0a16d4d9398e43cbb85784c85fb807a4";
|
||||
};
|
||||
buildInputs = [tcl x11];
|
||||
}
|
Loading…
Reference in a new issue