mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
3d64d27b57
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/d88xbp1gzaf2jllb4k3mclrghgm0yp10-uftp-4.9.5/bin/uftpd help` got 0 exit code - ran `/nix/store/d88xbp1gzaf2jllb4k3mclrghgm0yp10-uftp-4.9.5/bin/uftp_keymgt -h` got 0 exit code - ran `/nix/store/d88xbp1gzaf2jllb4k3mclrghgm0yp10-uftp-4.9.5/bin/uftp_keymgt --help` got 0 exit code - ran `/nix/store/d88xbp1gzaf2jllb4k3mclrghgm0yp10-uftp-4.9.5/bin/uftp_keymgt help` got 0 exit code - ran `/nix/store/d88xbp1gzaf2jllb4k3mclrghgm0yp10-uftp-4.9.5/bin/uftp_keymgt -V` and found version 4.9.5 - ran `/nix/store/d88xbp1gzaf2jllb4k3mclrghgm0yp10-uftp-4.9.5/bin/uftp_keymgt -v` and found version 4.9.5 - ran `/nix/store/d88xbp1gzaf2jllb4k3mclrghgm0yp10-uftp-4.9.5/bin/uftp_keymgt --version` and found version 4.9.5 - ran `/nix/store/d88xbp1gzaf2jllb4k3mclrghgm0yp10-uftp-4.9.5/bin/uftp_keymgt -h` and found version 4.9.5 - ran `/nix/store/d88xbp1gzaf2jllb4k3mclrghgm0yp10-uftp-4.9.5/bin/uftp_keymgt --help` and found version 4.9.5 - found 4.9.5 with grep in /nix/store/d88xbp1gzaf2jllb4k3mclrghgm0yp10-uftp-4.9.5 - found 4.9.5 in filename of file in /nix/store/d88xbp1gzaf2jllb4k3mclrghgm0yp10-uftp-4.9.5 cc "@fadenb"
34 lines
897 B
Nix
34 lines
897 B
Nix
{ stdenv, fetchurl, openssl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "uftp-${version}";
|
|
version = "4.9.5";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/uftp-multicast/source-tar/uftp-${version}.tar.gz";
|
|
sha256 = "1alsha0mhscp0jha2wlb5mqqkx2967s7rpm0x8c2v7jws1d0m1w3";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|