gping: fix darwin build

This commit is contained in:
Stéphan Kochen 2021-05-15 23:01:12 +02:00 committed by Jonathan Ringer
parent 245070134f
commit 454df730b6

View file

@ -1,6 +1,8 @@
{ lib { lib
, stdenv
, rustPlatform , rustPlatform
, fetchFromGitHub , fetchFromGitHub
, libiconv
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
@ -16,6 +18,8 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-2PxhtAqROgufVGGH7VtEJJU6Sa2OrGbbMVRUWYbAD0Q="; cargoSha256 = "sha256-2PxhtAqROgufVGGH7VtEJJU6Sa2OrGbbMVRUWYbAD0Q=";
buildInputs = lib.optional stdenv.isDarwin libiconv;
meta = with lib; { meta = with lib; {
description = "Ping, but with a graph"; description = "Ping, but with a graph";
homepage = "https://github.com/orf/gping"; homepage = "https://github.com/orf/gping";