gping: 1.2.6 -> 1.2.7

This commit is contained in:
Mrinal Purohit 2022-02-07 14:26:32 +05:30
parent 51d92e5c6e
commit c40dadac17
2 changed files with 8 additions and 13 deletions

View File

@ -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";

View File

@ -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 { };