Merge pull request #145990 from jakubgs/fix-mtr-json-output

mtr: fix JSON output format, add libjansson
This commit is contained in:
Michael Raskin 2021-11-14 19:18:55 +00:00 committed by GitHub
commit 7c5cadc3ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
{ stdenv, lib, fetchFromGitHub, autoreconfHook, pkg-config
, libcap, ncurses
, libcap, ncurses, jansson
, withGtk ? false, gtk3 }:
stdenv.mkDerivation rec {
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ ncurses ]
buildInputs = [ ncurses jansson ]
++ lib.optional withGtk gtk3
++ lib.optional stdenv.isLinux libcap;