ncftp: 3.2.4 -> 3.2.5
Also, add missing ncurses buildInput and add/update meta attributes. The homepage is back up!
This commit is contained in:
parent
b2c4b68a38
commit
d65cea26dc
@ -1,15 +1,16 @@
|
|||||||
{stdenv, fetchurl, ncurses, coreutils}:
|
{stdenv, fetchurl, ncurses, coreutils}:
|
||||||
|
|
||||||
let version = "3.2.4"; in
|
let version = "3.2.5"; in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "ncftp-${version}";
|
name = "ncftp-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
# `ncftp.com' got stolen, apparently, so resort to Debian.
|
url = "ftp://ftp.ncftp.com/ncftp/ncftp-${version}-src.tar.bz2";
|
||||||
url = "mirror://debian/pool/main/n/ncftp/ncftp_${version}.orig.tar.gz";
|
sha256 = "0hlx12i0lwi99qsrx7nccf4nvwjj2gych4yks5y179b1ax0y5sxl";
|
||||||
sha256 = "6f26e7891f3eab27eebd2bbbe2bc87d5ae872e610eaf0bc5652aec520adcf68a";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildInputs = [ ncurses ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
find . -name "*.sh" -type f | xargs sed 's@/bin/ls@${coreutils}/bin/ls@g' -i
|
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 "*.in" -type f | xargs sed 's@/bin/ls@${coreutils}/bin/ls@g' -i
|
||||||
@ -22,10 +23,10 @@ stdenv.mkDerivation {
|
|||||||
sed 's@/bin/rm@${coreutils}/bin/rm@g' -i configure
|
sed 's@/bin/rm@${coreutils}/bin/rm@g' -i configure
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "NcFTP Client (also known as just NcFTP) is a set of FREE application programs implementing the File Transfer Protocol (FTP).";
|
description = "Command line FTP (File Transfer Protocol) client";
|
||||||
|
homepage = http://www.ncftp.com/ncftp/;
|
||||||
# Homeless!
|
platforms = platforms.linux;
|
||||||
# homepage = http://www.ncftp.com/ncftp/;
|
maintainers = [ maintainers.bjornfor ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user