nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 31 lines 617 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5}: 6 7stdenv.mkDerivation rec { 8 pname = "nttcp"; 9 version = "1.47"; 10 11 src = fetchurl { 12 url = "https://deb.debian.org/debian/pool/non-free/n/nttcp/nttcp_${version}.orig.tar.gz"; 13 sha256 = "1bl17dsd53lbpjdqfmpgpd7dms6d2w3scpg7ki7qgfjhs8sarq50"; 14 }; 15 16 patches = [ 17 # Fix format string compiler error 18 ./format-security.patch 19 ]; 20 21 makeFlags = [ 22 "prefix=${placeholder "out"}" 23 ]; 24 25 meta = { 26 description = "New test TCP program"; 27 license = lib.licenses.unfree; 28 maintainers = with lib.maintainers; [ emilytrau ]; 29 platforms = lib.platforms.all; 30 }; 31}