summary refs log blame commit diff
path: root/pkgs/tools/networking/nttcp/default.nix
blob: 8979c5fd2acf8a828eae39ed58992e91acd6b2af (plain) (tree)


























                                                                                            
{ lib, stdenv, fetchurl, ... }:

stdenv.mkDerivation rec {
  pname = "nttcp";
  version = "1.47";

  src = fetchurl {
    url = "http://deb.debian.org/debian/pool/non-free/n/nttcp/nttcp_${version}.orig.tar.gz";
    sha256 = "1bl17dsd53lbpjdqfmpgpd7dms6d2w3scpg7ki7qgfjhs8sarq50";
  };

  patches = [
    # Fix format string compiler error
    ./format-security.patch
  ];

  makeFlags = [
    "prefix=${placeholder "out"}"
  ];

  meta = with lib; {
    description = "New test TCP program";
    license = licenses.unfree;
    maintainers = with maintainers; [ angustrau ];
    platforms = platforms.all;
  };
}