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