git.iko.soy/typeable/nixpkgs
on master help sign in
gping: add NixOS support patch

This backport a patch made to add NixOS as a supported Operating System fixing the wrong rendering issues I faced during test. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

commit4516cecba0c039cdf76bca0bb83fea80e49f0a96 authorOtavio Salvador <otavio@ossystems.com.br> dateTue 14 Dec 2021, 14:11 (5 years ago) parent7741ec4
1 file changed+8
pkgs/tools/networking/gping/default.nix+8
pkgs/tools/networking/gping/default.nix+8
@@ -2,6 +2,7 @@
22, stdenv
33, rustPlatform
44, fetchFromGitHub
5+, fetchpatch
56, libiconv
67}:
78
@@ -18,6 +19,13 @@ rustPlatform.buildRustPackage rec {
1819
1920 cargoSha256 = "sha256-xEASs6r5zxYJXS+at6aX5n0whGp5qwuNwq6Jh0GM+/4=";
2021
22+ patches = [
23+ (fetchpatch {
24+ url = "https://github.com/orf/gping/commit/b843beb9617e4b7b98d4f6d3942067cad59c9d60.patch";
25+ sha256 = "sha256-9DIeeweCuGqymvUj4EBct82XVevkFSbHWaV76ExjGbs=";
26+ })
27+ ];
28+
2129 buildInputs = lib.optional stdenv.isDarwin libiconv;
2230
2331 meta = with lib; {