gping: 1.17.3 -> 1.18.0 (#356624)
This commit is contained in:
commit
d00aba92df
@ -1,27 +1,25 @@
|
|||||||
{ lib
|
{
|
||||||
, stdenv
|
lib,
|
||||||
, rustPlatform
|
stdenv,
|
||||||
, fetchFromGitHub
|
rustPlatform,
|
||||||
, installShellFiles
|
fetchFromGitHub,
|
||||||
, libiconv
|
installShellFiles,
|
||||||
, Security
|
iputils,
|
||||||
, iputils
|
versionCheckHook,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "gping";
|
pname = "gping";
|
||||||
version = "1.17.3";
|
version = "1.18.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "orf";
|
owner = "orf";
|
||||||
repo = "gping";
|
repo = "gping";
|
||||||
rev = "gping-v${version}";
|
rev = "gping-v${version}";
|
||||||
hash = "sha256-DJ+5WoizFF3K9drFc955bDMXnlW+okYrZos/+dRVtjw=";
|
hash = "sha256-JZMgbCwEGfngCQVmuZX1tu3he/f/TBLitcP/Ea3S6yI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-pQ95sS2dGVzZUOyuUpJPamW7RLiUTGu9KgpWLg4wn/w=";
|
cargoHash = "sha256-I9rcC2sotrdHMCCiDgfycKRnJxZLuA5OLZPZC0zFiLc=";
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv Security ];
|
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
@ -32,9 +30,10 @@ rustPlatform.buildRustPackage rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
doInstallCheck = true;
|
doInstallCheck = true;
|
||||||
installCheckPhase = ''
|
|
||||||
$out/bin/gping --version | grep "${version}"
|
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||||
'';
|
|
||||||
|
versionCheckProgramArg = [ "--version" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Ping, but with a graph";
|
description = "Ping, but with a graph";
|
||||||
|
@ -2410,9 +2410,7 @@ with pkgs;
|
|||||||
inherit (darwin) libobjc libresolv;
|
inherit (darwin) libobjc libresolv;
|
||||||
};
|
};
|
||||||
|
|
||||||
gping = callPackage ../tools/networking/gping {
|
gping = callPackage ../tools/networking/gping { };
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
|
||||||
};
|
|
||||||
|
|
||||||
greg = callPackage ../applications/audio/greg {
|
greg = callPackage ../applications/audio/greg {
|
||||||
pythonPackages = python3Packages;
|
pythonPackages = python3Packages;
|
||||||
|
Loading…
Reference in New Issue
Block a user