2021-08-07 17:34:54 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoconf
|
|
|
|
, automake
|
|
|
|
, gettext
|
|
|
|
, gtk
|
|
|
|
, intltool
|
|
|
|
, libtool
|
|
|
|
, ncurses
|
|
|
|
, openssl
|
|
|
|
, pkg-config
|
|
|
|
, readline
|
|
|
|
}:
|
2010-07-28 16:35:01 +01:00
|
|
|
|
2021-08-01 21:48:53 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gftp";
|
2021-08-07 17:34:54 +01:00
|
|
|
version = "2.7.0b";
|
2008-08-06 21:39:01 +01:00
|
|
|
|
2021-08-07 17:34:54 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "masneyb";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-cIB3SneYKavgdI8eTtM1qsOrBJJ0c7/3CEvNPishNog=";
|
2008-08-06 21:39:01 +01:00
|
|
|
};
|
|
|
|
|
2021-08-07 17:34:54 +01: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 17:34:54 +01:00
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
2008-08-06 21:39:01 +01:00
|
|
|
|
2021-08-07 17:34:54 +01: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 21:39:01 +01:00
|
|
|
};
|
|
|
|
}
|
2021-08-07 17:34:54 +01:00
|
|
|
# TODO: report the hardeningDisable to upstream
|