From 2b4220fb88cff93a79bdb4bd1e8f4bbf2cce4cd0 Mon Sep 17 00:00:00 2001 From: Wouter den Breejen Date: Mon, 28 May 2007 14:14:12 +0000 Subject: [PATCH] added putty svn path=/nixpkgs/trunk/; revision=8787 --- .../networking/remote/putty/builder.sh | 12 ++++++++++ .../networking/remote/putty/default.nix | 22 +++++++++++++++++++ .../networking/remote/putty/result | 1 + 3 files changed, 35 insertions(+) create mode 100755 pkgs/applications/networking/remote/putty/builder.sh create mode 100644 pkgs/applications/networking/remote/putty/default.nix create mode 120000 pkgs/applications/networking/remote/putty/result diff --git a/pkgs/applications/networking/remote/putty/builder.sh b/pkgs/applications/networking/remote/putty/builder.sh new file mode 100755 index 00000000000..8b7da0a84e4 --- /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 00000000000..402b5a520f4 --- /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 00000000000..bd1d66a7191 --- /dev/null +++ b/pkgs/applications/networking/remote/putty/result @@ -0,0 +1 @@ +/nix/store/3sydcphcaqf4wi28nkmdzbf1qnnfr0g3-putty-0.60 \ No newline at end of file