3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/ftp/gftp/default.nix
2022-01-04 00:26:19 -03:00

58 lines
949 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, autoconf
, automake
, gettext
, gtk
, intltool
, libtool
, ncurses
, openssl
, pkg-config
, readline
}:
stdenv.mkDerivation rec {
pname = "gftp";
version = "2.8.0b";
src = fetchFromGitHub {
owner = "masneyb";
repo = pname;
rev = version;
hash = "sha256-syeRFpqbd1VhKhhs/fIByDSVpcY+SAlmikDo3J1ZHlo=";
};
nativeBuildInputs = [
autoconf
automake
gettext
intltool
libtool
pkg-config
];
buildInputs = [
gtk
ncurses
openssl
readline
];
preConfigure = ''
./autogen.sh
'';
hardeningDisable = [ "format" ];
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;
};
}
# TODO: report the hardeningDisable to upstream