From c844c68142eef5540eeadd29cd602a7446bf663c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sun, 25 Jan 2009 14:31:51 +0000 Subject: [PATCH] Adding yafc-1.1.1 svn path=/nixpkgs/trunk/; revision=13846 --- pkgs/applications/networking/yafc/default.nix | 20 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/applications/networking/yafc/default.nix diff --git a/pkgs/applications/networking/yafc/default.nix b/pkgs/applications/networking/yafc/default.nix new file mode 100644 index 000000000000..ae3ce06ca50f --- /dev/null +++ b/pkgs/applications/networking/yafc/default.nix @@ -0,0 +1,20 @@ +{stdenv, fetchurl, readline, openssh}: + +stdenv.mkDerivation { + name = "yafc-1.1.1"; + src = fetchurl { + url = mirror://sourceforge/yafc/yafc-1.1.1.tar.bz2; + sha256 = "ab72b2ed89fb75dbe8ebd119458cf513392225f367cccfad881e9780aefcd7e6"; + }; + + buildInputs = [readline openssh]; + + patchPhase = " + sed -e 's@/usr/bin/ssh@${openssh}/bin/ssh@' -i src/main.c + "; + + meta = { + description = "ftp/sftp client with readline, autocompletion and bookmarks"; + homepage = http://yafc.sourceforge.net; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3fc042bcfb8c..913fc627bff8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8941,6 +8941,10 @@ let inherit (xlibs) libX11; }; + yafc = import ../applications/networking/yafc { + inherit fetchurl stdenv readline openssh; + }; + myEnvFun = import ../misc/my-env { inherit substituteAll pkgs; inherit (stdenv) mkDerivation;