3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/netkit/tftp/default.nix

27 lines
812 B
Nix
Raw Normal View History

2021-01-15 09:19:50 +00:00
{lib, stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "netkit-tftp-0.17";
src = fetchurl {
urls = [
2014-10-04 13:37:17 +01:00
"mirror://ubuntu/pool/universe/n/netkit-tftp/netkit-tftp_0.17.orig.tar.gz"
"ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${name}.tar.gz"
"https://ftp.cc.uoc.gr/mirrors/linux/ubuntu/packages/pool/universe/n/netkit-tftp/netkit-tftp_0.17.orig.tar.gz"
];
sha256 = "0kfibbjmy85r3k92cdchha78nzb6silkgn1zaq9g8qaf1l0w0hrs";
};
preInstall = "
mkdir -p $out/man/man{1,8} $out/sbin $out/bin
";
meta = {
description = "Netkit TFTP client and server";
homepage = "ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/";
2021-01-15 09:19:50 +00:00
license = lib.licenses.bsdOriginal;
maintainers = with lib.maintainers; [viric];
platforms = with lib.platforms; linux;
};
}