added putty
svn path=/nixpkgs/trunk/; revision=8787
This commit is contained in:
parent
5200276c3b
commit
2b4220fb88
12
pkgs/applications/networking/remote/putty/builder.sh
Executable file
12
pkgs/applications/networking/remote/putty/builder.sh
Executable 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
|
||||
|
22
pkgs/applications/networking/remote/putty/default.nix
Normal file
22
pkgs/applications/networking/remote/putty/default.nix
Normal 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;
|
||||
}
|
1
pkgs/applications/networking/remote/putty/result
Symbolic link
1
pkgs/applications/networking/remote/putty/result
Symbolic link
@ -0,0 +1 @@
|
||||
/nix/store/3sydcphcaqf4wi28nkmdzbf1qnnfr0g3-putty-0.60
|
Loading…
Reference in New Issue
Block a user