blob: ab956a45b4928abfc69e26c20929b6fba4825f4b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{ lib, stdenv, fetchurl, gtk2, readline, ncurses, gettext, openssl, pkg-config }:
stdenv.mkDerivation rec {
pname = "gftp";
version = "2.0.19";
src = fetchurl {
url = "https://www.gftp.org/gftp-${version}.tar.bz2";
sha256 = "1z8b26n23k0sjbxgrix646b06cnpndpq7cbcj0ilsvvdx5ms81jk";
};
postPatch = ''
sed -i -e '/<stropts.h>/d' lib/pty.c
'';
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gtk2 readline ncurses gettext openssl ];
meta = {
description = "GTK-based FTP client";
homepage = "http://www.gftp.org";
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.unix;
};
}
|