summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorCarles Pagès <page@cubata.homelinux.net>2012-07-17 22:17:01 +0200
committerCarles Pagès <page@cubata.homelinux.net>2012-07-17 22:17:01 +0200
commitbae6ad5914cd6bd4414bb9811333219cb55f9051 (patch)
tree3adf426b1d1cff5480c12478cf326e54828f50f6 /pkgs
parent7e2979b56f30e1b52563cc749530400b6e4e9878 (diff)
downloadnixpkgs-bae6ad5914cd6bd4414bb9811333219cb55f9051.tar
nixpkgs-bae6ad5914cd6bd4414bb9811333219cb55f9051.tar.gz
nixpkgs-bae6ad5914cd6bd4414bb9811333219cb55f9051.tar.bz2
nixpkgs-bae6ad5914cd6bd4414bb9811333219cb55f9051.tar.lz
nixpkgs-bae6ad5914cd6bd4414bb9811333219cb55f9051.tar.xz
nixpkgs-bae6ad5914cd6bd4414bb9811333219cb55f9051.tar.zst
nixpkgs-bae6ad5914cd6bd4414bb9811333219cb55f9051.zip
yafc: update to 1.2.0
The project has been retaken and this is the latest tarball available.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/networking/yafc/default.nix20
1 files changed, 9 insertions, 11 deletions
diff --git a/pkgs/applications/networking/yafc/default.nix b/pkgs/applications/networking/yafc/default.nix
index a6c3c43417e..0ea77701211 100644
--- a/pkgs/applications/networking/yafc/default.nix
+++ b/pkgs/applications/networking/yafc/default.nix
@@ -1,21 +1,19 @@
-{stdenv, fetchurl, readline, openssh}:
+{stdenv, fetchurl, readline, libssh, intltool}:
 
-stdenv.mkDerivation {
-  name = "yafc-1.1.1";
+stdenv.mkDerivation rec {
+  name = "yafc";
+  version = "1.2.0";
   src = fetchurl {
-    url = mirror://sourceforge/yafc/yafc-1.1.1.tar.bz2;
-    sha256 = "ab72b2ed89fb75dbe8ebd119458cf513392225f367cccfad881e9780aefcd7e6";
+    url = "https://github.com/downloads/sebastinas/yafc/${name}-${version}.tar.xz";
+    sha256 = "0h5cbvvfkigvzfqqzvgqpn8m0ilyng3rgyh85c0mi48klzv8kb58";
   };
 
-  buildInputs = [readline openssh];
-
-  patchPhase = "
-    sed -e 's@/usr/bin/ssh@${openssh}/bin/ssh@' -i src/main.c
-  ";
+  buildInputs = [ readline libssh intltool ];
 
   meta = {
     description = "ftp/sftp client with readline, autocompletion and bookmarks";
-    homepage = http://yafc.sourceforge.net;
+    homepage = http://www.yafc-ftp.com;
+    maintainers = [ "Carles Pagès <page@cubata.homelinux.net>" ];
     license = "GPLv2+";
   };
 }