nixpkgs/pkgs/tools/networking/nttcp/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
608 B
Nix
Raw Normal View History

2021-07-29 12:11:51 +00:00
{ lib, stdenv, fetchurl }:
2021-07-25 06:00:04 +00:00
stdenv.mkDerivation rec {
pname = "nttcp";
version = "1.47";
src = fetchurl {
2021-07-29 12:11:51 +00:00
url = "https://deb.debian.org/debian/pool/non-free/n/nttcp/nttcp_${version}.orig.tar.gz";
2021-07-25 06:00:04 +00:00
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;
2022-02-11 04:45:03 +00:00
maintainers = with maintainers; [ emilytrau ];
2021-07-25 06:00:04 +00:00
platforms = platforms.all;
};
}