smartcat: 2.1.0 -> 2.2.0 (#360825)
[NixPkgs.git] / pkgs / by-name / ne / netkittftp / package.nix
blob807aa62601fe84d95f0791af8b7ec8894b2da480
1 {lib, stdenv, fetchurl}:
3 stdenv.mkDerivation rec {
4   pname = "netkit-tftp";
5   version = "0.17";
7   src = fetchurl {
8     urls = [
9       "mirror://ubuntu/pool/universe/n/netkit-tftp/netkit-tftp_${version}.orig.tar.gz"
10       "ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-tftp-${version}.tar.gz"
11       "https://ftp.cc.uoc.gr/mirrors/linux/ubuntu/packages/pool/universe/n/netkit-tftp/netkit-tftp_${version}.orig.tar.gz"
12     ];
13     sha256 = "0kfibbjmy85r3k92cdchha78nzb6silkgn1zaq9g8qaf1l0w0hrs";
14   };
16   preInstall = "
17     mkdir -p $out/man/man{1,8} $out/sbin $out/bin
18   ";
20   meta = {
21     description = "Netkit TFTP client and server";
22     homepage = "ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/";
23     license = lib.licenses.bsdOriginal;
24     maintainers = [ ];
25     platforms = with lib.platforms; linux;
26   };