Merge pull request #150736 from otavio/topic/fix-gping-nixos-support

gping: add NixOS support patch

authored by Thiago Kenji Okada and committed by GitHub c02cd8a1 fa731c98

+8
+8
pkgs/tools/networking/gping/default.nix
··· 2 , stdenv 3 , rustPlatform 4 , fetchFromGitHub 5 , libiconv 6 }: 7 ··· 17 }; 18 19 cargoSha256 = "sha256-xEASs6r5zxYJXS+at6aX5n0whGp5qwuNwq6Jh0GM+/4="; 20 21 buildInputs = lib.optional stdenv.isDarwin libiconv; 22
··· 2 , stdenv 3 , rustPlatform 4 , fetchFromGitHub 5 + , fetchpatch 6 , libiconv 7 }: 8 ··· 18 }; 19 20 cargoSha256 = "sha256-xEASs6r5zxYJXS+at6aX5n0whGp5qwuNwq6Jh0GM+/4="; 21 + 22 + patches = [ 23 + (fetchpatch { 24 + url = "https://github.com/orf/gping/commit/b843beb9617e4b7b98d4f6d3942067cad59c9d60.patch"; 25 + sha256 = "sha256-9DIeeweCuGqymvUj4EBct82XVevkFSbHWaV76ExjGbs="; 26 + }) 27 + ]; 28 29 buildInputs = lib.optional stdenv.isDarwin libiconv; 30