* added ncftp
svn path=/nixpkgs/trunk/; revision=17214
This commit is contained in:
parent
5915d8560d
commit
c3fe985546
27
pkgs/tools/networking/ncftp/default.nix
Normal file
27
pkgs/tools/networking/ncftp/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{stdenv, fetchurl, ncurses, coreutils}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "ncftp-3.2.3";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = ftp://ftp.ncftp.com/ncftp/ncftp-3.2.3-src.tar.bz2;
|
||||||
|
sha256 = "0455rf6yw568izq2nvz58mjd719dgp9y63yx9cb7l620vvxz5x26";
|
||||||
|
};
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
find . -name "*.sh" -type f | xargs sed 's@/bin/ls@${coreutils}/bin/ls@g' -i
|
||||||
|
find . -name "*.in" -type f | xargs sed 's@/bin/ls@${coreutils}/bin/ls@g' -i
|
||||||
|
find . -name "*.c" -type f | xargs sed 's@/bin/ls@${coreutils}/bin/ls@g' -i
|
||||||
|
sed 's@/bin/ls@${coreutils}/bin/ls@g' -i configure
|
||||||
|
|
||||||
|
find . -name "*.sh" -type f | xargs sed 's@/bin/rm@${coreutils}/bin/rm@g' -i
|
||||||
|
find . -name "*.in" -type f | xargs sed 's@/bin/rm@${coreutils}/bin/rm@g' -i
|
||||||
|
find . -name "*.c" -type f | xargs sed 's@/bin/rm@${coreutils}/bin/rm@g' -i
|
||||||
|
sed 's@/bin/rm@${coreutils}/bin/rm@g' -i configure
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "NcFTP Client (also known as just NcFTP) is a set of FREE application programs implementing the File Transfer Protocol (FTP).";
|
||||||
|
homepage = http://www.ncftp.com/ncftp/;
|
||||||
|
};
|
||||||
|
}
|
@ -1108,6 +1108,10 @@ let
|
|||||||
inherit fetchurl stdenv openssl;
|
inherit fetchurl stdenv openssl;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ncftp = import ../tools/networking/ncftp {
|
||||||
|
inherit fetchurl stdenv ncurses coreutils;
|
||||||
|
};
|
||||||
|
|
||||||
netcat = import ../tools/networking/netcat {
|
netcat = import ../tools/networking/netcat {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user