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

57 lines
948 B
Nix
Raw Normal View History

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