2021-01-17 03:51:22 +00:00
|
|
|
{ lib, stdenv, fetchurl, gtk2, readline, ncurses, gettext, openssl, pkg-config }:
|
2010-07-28 16:35:01 +01:00
|
|
|
|
2008-08-06 21:39:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2010-04-04 15:51:37 +01:00
|
|
|
name = "gftp-2.0.19";
|
2008-08-06 21:39:01 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "https://www.gftp.org/gftp-2.0.19.tar.bz2";
|
2010-04-04 15:51:37 +01:00
|
|
|
sha256 = "1z8b26n23k0sjbxgrix646b06cnpndpq7cbcj0ilsvvdx5ms81jk";
|
2008-08-06 21:39:01 +01:00
|
|
|
};
|
|
|
|
|
2020-01-29 11:16:05 +00:00
|
|
|
postPatch = ''
|
|
|
|
sed -i -e '/<stropts.h>/d' lib/pty.c
|
|
|
|
'';
|
|
|
|
|
2021-01-17 03:51:22 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ gtk2 readline ncurses gettext openssl ];
|
2008-08-06 21:39:01 +01:00
|
|
|
|
2019-09-03 23:49:40 +01:00
|
|
|
meta = {
|
|
|
|
description = "GTK-based FTP client";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.gftp.org";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = lib.platforms.unix;
|
2008-08-06 21:39:01 +01:00
|
|
|
};
|
|
|
|
}
|