about summary refs log tree commit diff
path: root/pkgs/applications/networking/remote/putty
diff options
context:
space:
mode:
authorWouter den Breejen <uu@denbreejen.net>2007-05-28 14:14:12 +0000
committerWouter den Breejen <uu@denbreejen.net>2007-05-28 14:14:12 +0000
commit2b4220fb88cff93a79bdb4bd1e8f4bbf2cce4cd0 (patch)
tree3f57390afd43be17b093f1b604d59ebd478906d4 /pkgs/applications/networking/remote/putty
parent5200276c3b5a475242835a6c171c8f5c2e6c044e (diff)
downloadnixlib-2b4220fb88cff93a79bdb4bd1e8f4bbf2cce4cd0.tar
nixlib-2b4220fb88cff93a79bdb4bd1e8f4bbf2cce4cd0.tar.gz
nixlib-2b4220fb88cff93a79bdb4bd1e8f4bbf2cce4cd0.tar.bz2
nixlib-2b4220fb88cff93a79bdb4bd1e8f4bbf2cce4cd0.tar.lz
nixlib-2b4220fb88cff93a79bdb4bd1e8f4bbf2cce4cd0.tar.xz
nixlib-2b4220fb88cff93a79bdb4bd1e8f4bbf2cce4cd0.tar.zst
nixlib-2b4220fb88cff93a79bdb4bd1e8f4bbf2cce4cd0.zip
added putty
svn path=/nixpkgs/trunk/; revision=8787
Diffstat (limited to 'pkgs/applications/networking/remote/putty')
-rwxr-xr-xpkgs/applications/networking/remote/putty/builder.sh12
-rw-r--r--pkgs/applications/networking/remote/putty/default.nix22
l---------pkgs/applications/networking/remote/putty/result1
3 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/applications/networking/remote/putty/builder.sh b/pkgs/applications/networking/remote/putty/builder.sh
new file mode 100755
index 000000000000..8b7da0a84e41
--- /dev/null
+++ b/pkgs/applications/networking/remote/putty/builder.sh
@@ -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
+
diff --git a/pkgs/applications/networking/remote/putty/default.nix b/pkgs/applications/networking/remote/putty/default.nix
new file mode 100644
index 000000000000..402b5a520f45
--- /dev/null
+++ b/pkgs/applications/networking/remote/putty/default.nix
@@ -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;
+}
diff --git a/pkgs/applications/networking/remote/putty/result b/pkgs/applications/networking/remote/putty/result
new file mode 120000
index 000000000000..bd1d66a7191e
--- /dev/null
+++ b/pkgs/applications/networking/remote/putty/result
@@ -0,0 +1 @@
+/nix/store/3sydcphcaqf4wi28nkmdzbf1qnnfr0g3-putty-0.60
\ No newline at end of file