2021-08-07 16:34:54 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoconf
|
|
|
|
, automake
|
|
|
|
, gettext
|
|
|
|
, gtk
|
|
|
|
, intltool
|
|
|
|
, libtool
|
|
|
|
, ncurses
|
|
|
|
, openssl
|
|
|
|
, pkg-config
|
|
|
|
, readline
|
|
|
|
}:
|
2010-07-28 15:35:01 +00:00
|
|
|
|
2021-08-01 20:48:53 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gftp";
|
2021-08-07 16:34:54 +00:00
|
|
|
version = "2.7.0b";
|
2008-08-06 20:39:01 +00:00
|
|
|
|
2021-08-07 16:34:54 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "masneyb";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-cIB3SneYKavgdI8eTtM1qsOrBJJ0c7/3CEvNPishNog=";
|
2008-08-06 20:39:01 +00:00
|
|
|
};
|
|
|
|
|
2021-08-07 16:34:54 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoconf
|
|
|
|
automake
|
|
|
|
gettext
|
|
|
|
intltool
|
|
|
|
libtool
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
gtk
|
|
|
|
ncurses
|
|
|
|
openssl
|
|
|
|
readline
|
|
|
|
];
|
|
|
|
|
|
|
|
hardeningDisable = [ "format" ];
|
2020-01-29 11:16:05 +00:00
|
|
|
|
2021-08-07 16:34:54 +00:00
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
2008-08-06 20:39:01 +00:00
|
|
|
|
2021-08-07 16:34:54 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/masneyb/gftp";
|
|
|
|
description = "GTK-based multithreaded FTP client for *nix-based machines";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
|
|
platforms = platforms.unix;
|
2008-08-06 20:39:01 +00:00
|
|
|
};
|
|
|
|
}
|
2021-08-07 16:34:54 +00:00
|
|
|
# TODO: report the hardeningDisable to upstream
|