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