summary refs log tree commit diff
path: root/pkgs/applications/networking/ftp
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2022-01-03 23:58:09 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2022-01-04 00:26:19 -0300
commit54a683490fff7c22b462b60f38c6fcbe309fb7e1 (patch)
treeb71244132aab18dc6f8c108717ac7712be21abb0 /pkgs/applications/networking/ftp
parente24931ba0b068066c60fdf07d577d320343f20d5 (diff)
downloadnixpkgs-54a683490fff7c22b462b60f38c6fcbe309fb7e1.tar
nixpkgs-54a683490fff7c22b462b60f38c6fcbe309fb7e1.tar.gz
nixpkgs-54a683490fff7c22b462b60f38c6fcbe309fb7e1.tar.bz2
nixpkgs-54a683490fff7c22b462b60f38c6fcbe309fb7e1.tar.lz
nixpkgs-54a683490fff7c22b462b60f38c6fcbe309fb7e1.tar.xz
nixpkgs-54a683490fff7c22b462b60f38c6fcbe309fb7e1.tar.zst
nixpkgs-54a683490fff7c22b462b60f38c6fcbe309fb7e1.zip
gftp: 2.7.0b -> 2.8.0b
Diffstat (limited to 'pkgs/applications/networking/ftp')
-rw-r--r--pkgs/applications/networking/ftp/gftp/default.nix57
1 files changed, 57 insertions, 0 deletions
diff --git a/pkgs/applications/networking/ftp/gftp/default.nix b/pkgs/applications/networking/ftp/gftp/default.nix
new file mode 100644
index 00000000000..37338d31e0d
--- /dev/null
+++ b/pkgs/applications/networking/ftp/gftp/default.nix
@@ -0,0 +1,57 @@
+{ 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