1 { lib, stdenv, fetchurl, openssl }:
3 stdenv.mkDerivation rec {
8 url = "mirror://sourceforge/uftp-multicast/source-tar/uftp-${version}.tar.gz";
9 sha256 = "sha256-y4ZowZsfELxjoW/6iT4gXcPshjYQN9R32AAyYOvEAIA=";
12 buildInputs = [ openssl ];
14 outputs = [ "out" "man" ];
17 substituteInPlace makefile --replace gcc cc
21 mkdir -p $out/bin $man/share/man/man1
22 cp {uftp,uftpd,uftp_keymgt,uftpproxyd} $out/bin/
23 cp {uftp.1,uftpd.1,uftp_keymgt.1,uftpproxyd.1} $man/share/man/man1
27 description = "Encrypted UDP based FTP with multicast";
28 homepage = "https://uftp-multicast.sourceforge.net/";
29 license = lib.licenses.gpl3;
30 maintainers = [ lib.maintainers.fadenb ];
31 platforms = with lib.platforms; linux ++ darwin;