Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 ncurses, 6 openssl, 7}: 8 9stdenv.mkDerivation rec { 10 pname = "cbftp"; 11 version = "1173"; 12 13 src = fetchurl { 14 url = "https://cbftp.eu/${pname}-r${version}.tar.gz"; 15 hash = "sha256-DE6fnLzWsx6Skz2LRJAaijjIqrYFB8/HPp45P5CcEc8="; 16 }; 17 18 buildInputs = [ 19 ncurses 20 openssl 21 ]; 22 23 dontConfigure = true; 24 25 makeFlags = lib.optional stdenv.hostPlatform.isDarwin "OPTFLAGS=-O0"; 26 27 installPhase = '' 28 runHook preInstall 29 30 install -D bin/* -t $out/bin/ 31 install -D API README -t $out/share/doc/${pname}/ 32 33 runHook postInstall 34 ''; 35 36 meta = with lib; { 37 homepage = "https://cbftp.eu/"; 38 description = "Advanced multi-purpose FTP/FXP client"; 39 longDescription = '' 40 Cbftp is an advanced multi-purpose FTP/FXP client that focuses on 41 efficient large-scale data spreading, while also supporting most regular 42 FTP/FXP use cases in a modern way. It runs in a terminal and provides a 43 semi-graphical user interface through ncurses. 44 ''; 45 license = licenses.mit; 46 maintainers = with maintainers; [ ]; 47 platforms = with platforms; unix; 48 }; 49}