added putty

svn path=/nixpkgs/trunk/; revision=8787
This commit is contained in:
Wouter den Breejen 2007-05-28 14:14:12 +00:00
parent 5200276c3b
commit 2b4220fb88
3 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,12 @@
source $stdenv/setup
tar zxvf $src
cd putty-*/unix/
ensureDir $out/bin
ensureDir $out/share/man/man1
./configure --prefix=$out --with-gtk-prefix=$gtk
make
make install

View File

@ -0,0 +1,22 @@
{ stdenv, fetchurl, ncurses
, gtk
}:
stdenv.mkDerivation {
name = "putty-0.60";
builder = ./builder.sh;
src = fetchurl {
url = http://the.earth.li/~sgtatham/putty/latest/putty-0.60.tar.gz;
sha256 = "b2bbaaf9324997e85cf15d44ed41e8e89539c8215dceac9d6d7272a37dbc2849";
};
buildInputs = [
gtk ncurses
];
#propagatedBuildInputs = [
#];
inherit gtk;
}

View File

@ -0,0 +1 @@
/nix/store/3sydcphcaqf4wi28nkmdzbf1qnnfr0g3-putty-0.60