depot/third_party/nixpkgs/pkgs/tools/networking/cbftp/default.nix
Default email b6f2ab0a42 Project import generated by Copybara.
GitOrigin-RevId: 253aecf69ed7595aaefabde779aa6449195bebb7
2021-08-18 15:19:15 +02:00

46 lines
1 KiB
Nix

{ 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;
};
}