nixpkgs/pkgs/tools/networking/gftp/default.nix

25 lines
612 B
Nix
Raw Normal View History

2021-01-17 03:51:22 +00:00
{ lib, stdenv, fetchurl, gtk2, readline, ncurses, gettext, openssl, pkg-config }:
stdenv.mkDerivation {
name = "gftp-2.0.19";
src = fetchurl {
url = "https://www.gftp.org/gftp-2.0.19.tar.bz2";
sha256 = "1z8b26n23k0sjbxgrix646b06cnpndpq7cbcj0ilsvvdx5ms81jk";
};
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 ];
buildInputs = [ gtk2 readline ncurses gettext openssl ];
meta = {
description = "GTK-based FTP client";
homepage = "http://www.gftp.org";
2021-01-15 09:19:50 +00:00
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.unix;
};
}