From c40dadac171a05b37a067ee5393b764860d8e76f Mon Sep 17 00:00:00 2001 From: Mrinal Purohit Date: Mon, 7 Feb 2022 14:26:32 +0530 Subject: [PATCH] gping: 1.2.6 -> 1.2.7 --- pkgs/tools/networking/gping/default.nix | 17 +++++------------ pkgs/top-level/all-packages.nix | 4 +++- 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/pkgs/tools/networking/gping/default.nix b/pkgs/tools/networking/gping/default.nix index 24dc47176e89..7d4409149ec9 100644 --- a/pkgs/tools/networking/gping/default.nix +++ b/pkgs/tools/networking/gping/default.nix @@ -2,31 +2,24 @@ , stdenv , rustPlatform , fetchFromGitHub -, fetchpatch , libiconv +, Security }: rustPlatform.buildRustPackage rec { pname = "gping"; - version = "1.2.6"; + version = "1.2.7"; src = fetchFromGitHub { owner = "orf"; repo = "gping"; rev = "gping-v${version}"; - sha256 = "sha256-Sxmwuf+iTBTlpfMFCEUp6JyEaoHgmLIKB/gws2KY/xc="; + sha256 = "sha256-7o7Tj0jWFIOLmpHXWT6zcyowm7vnqMDTf0S4zHkWQ2Q="; }; - cargoSha256 = "sha256-xEASs6r5zxYJXS+at6aX5n0whGp5qwuNwq6Jh0GM+/4="; + cargoSha256 = "sha256-t+68Rea74RE43TXTSyhZCLXCdBfh7K92Z/amO+wBUuI="; - patches = [ - (fetchpatch { - url = "https://github.com/orf/gping/commit/b843beb9617e4b7b98d4f6d3942067cad59c9d60.patch"; - sha256 = "sha256-9DIeeweCuGqymvUj4EBct82XVevkFSbHWaV76ExjGbs="; - }) - ]; - - buildInputs = lib.optional stdenv.isDarwin libiconv; + buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ]; meta = with lib; { description = "Ping, but with a graph"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 54e661d6af0f..a1aa8f317dc1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3174,7 +3174,9 @@ with pkgs; gotify-desktop = callPackage ../tools/misc/gotify-desktop { }; - gping = callPackage ../tools/networking/gping { }; + gping = callPackage ../tools/networking/gping { + inherit (darwin.apple_sdk.frameworks) Security; + }; gpu-burn = callPackage ../applications/misc/gpu-burn { };