nixpkgs/pkgs/applications/networking/yafc/default.nix
Sander van der Burg 9ee72eb9ae Added license to yafc
svn path=/nixpkgs/trunk/; revision=29930
2011-10-20 11:17:24 +00:00

22 lines
536 B
Nix

{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;
license = "GPLv2+";
};
}