summary refs log tree commit diff
path: root/pkgs/tools/networking/cbftp
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2021-08-14 14:10:06 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2021-08-14 14:10:06 -0300
commitbe5a10a11e8d7a2393afd6ce2819d4b0450e7324 (patch)
tree62c13a5cd3158a6a88406913466fdd6eaf00353b /pkgs/tools/networking/cbftp
parentf3ed5d49c3651740c19f14fbaa19e9623cf2defe (diff)
downloadnixpkgs-be5a10a11e8d7a2393afd6ce2819d4b0450e7324.tar
nixpkgs-be5a10a11e8d7a2393afd6ce2819d4b0450e7324.tar.gz
nixpkgs-be5a10a11e8d7a2393afd6ce2819d4b0450e7324.tar.bz2
nixpkgs-be5a10a11e8d7a2393afd6ce2819d4b0450e7324.tar.lz
nixpkgs-be5a10a11e8d7a2393afd6ce2819d4b0450e7324.tar.xz
nixpkgs-be5a10a11e8d7a2393afd6ce2819d4b0450e7324.tar.zst
nixpkgs-be5a10a11e8d7a2393afd6ce2819d4b0450e7324.zip
cbftp: init at 1173
Diffstat (limited to 'pkgs/tools/networking/cbftp')
-rw-r--r--pkgs/tools/networking/cbftp/default.nix46
1 files changed, 46 insertions, 0 deletions
diff --git a/pkgs/tools/networking/cbftp/default.nix b/pkgs/tools/networking/cbftp/default.nix
new file mode 100644
index 00000000000..e78b8a93dc6
--- /dev/null
+++ b/pkgs/tools/networking/cbftp/default.nix
@@ -0,0 +1,46 @@
+{ lib
+, stdenv
+, fetchurl
+, ncurses
+, openssl
+}:
+
+stdenv.mkDerivation rec {
+  pname = "cbftp";
+  version = "1173";
+
+  src = fetchurl {
+    url = "https://cbftp.eu/${pname}-r${version}.tar.gz";
+    hash = "sha256-DE6fnLzWsx6Skz2LRJAaijjIqrYFB8/HPp45P5CcEc8=";
+  };
+
+  buildInputs = [
+    ncurses
+    openssl
+  ];
+
+  dontConfigure = true;
+
+  installPhase = ''
+    runHook preInstall
+
+    install -D bin/* -t $out/bin/
+    install -D API README -t $out/share/doc/${pname}/
+
+    runHook postInstall
+  '';
+
+  meta = with lib; {
+    homepage = "https://cbftp.eu/";
+    description = " An advanced multi-purpose FTP/FXP client";
+    longDescription = ''
+      Cbftp is an advanced multi-purpose FTP/FXP client that focuses on
+      efficient large-scale data spreading, while also supporting most regular
+      FTP/FXP use cases in a modern way. It runs in a terminal and provides a
+      semi-graphical user interface through ncurses.
+    '';
+    license = licenses.mit;
+    maintainers = with maintainers; [ AndersonTorres ];
+    platforms = with platforms; unix;
+  };
+}