mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 15:41:40 +00:00
125ff1ec54
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/uftp/versions. These checks were done: - built on NixOS - Warning: no invocation of /nix/store/xdg3hz58kdakygb1qigw2x1kh1gk5z4n-uftp-4.9.7/bin/uftp had a zero exit code or showed the expected version - /nix/store/xdg3hz58kdakygb1qigw2x1kh1gk5z4n-uftp-4.9.7/bin/uftpd passed the binary check. - /nix/store/xdg3hz58kdakygb1qigw2x1kh1gk5z4n-uftp-4.9.7/bin/uftp_keymgt passed the binary check. - Warning: no invocation of /nix/store/xdg3hz58kdakygb1qigw2x1kh1gk5z4n-uftp-4.9.7/bin/uftpproxyd had a zero exit code or showed the expected version - 2 of 4 passed binary check by having a zero exit code. - 0 of 4 passed binary check by having the new version present in output. - found 4.9.7 with grep in /nix/store/xdg3hz58kdakygb1qigw2x1kh1gk5z4n-uftp-4.9.7 - directory tree listing: https://gist.github.com/1fe6684f427417f8a9e189f960c84a74 - du listing: https://gist.github.com/15a89b170d541884994e503690c961ef
34 lines
897 B
Nix
34 lines
897 B
Nix
{ stdenv, fetchurl, openssl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "uftp-${version}";
|
|
version = "4.9.7";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/uftp-multicast/source-tar/uftp-${version}.tar.gz";
|
|
sha256 = "1gh1zpc6dh690xjhfp5x2ajhwjkchyh5wazr8agm6axxwqhd9gn8";
|
|
};
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
outputs = [ "out" "man" ];
|
|
|
|
patchPhase = ''
|
|
substituteInPlace makefile --replace gcc cc
|
|
'';
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin $man/share/man/man1
|
|
cp {uftp,uftpd,uftp_keymgt,uftpproxyd} $out/bin/
|
|
cp {uftp.1,uftpd.1,uftp_keymgt.1,uftpproxyd.1} $man/share/man/man1
|
|
'';
|
|
|
|
meta = {
|
|
description = "Encrypted UDP based FTP with multicast";
|
|
homepage = http://uftp-multicast.sourceforge.net/;
|
|
license = stdenv.lib.licenses.gpl3;
|
|
maintainers = [ stdenv.lib.maintainers.fadenb ];
|
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
|
};
|
|
}
|