mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
Merge pull request #145990 from jakubgs/fix-mtr-json-output
mtr: fix JSON output format, add libjansson
This commit is contained in:
commit
7c5cadc3ce
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user