1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00
nixpkgs/pkgs/tools/networking/netkit/tftp/default.nix
Silvan Mosberger 57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00

27 lines
826 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "netkit-tftp-0.17";
src = fetchurl {
urls = [
"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/;
license = stdenv.lib.licenses.bsdOriginal;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
}