Commit Graph

25 Commits

Author SHA1 Message Date
Vladimír Čunát
64065d76f4
Merge #144730: branch 'staging-next' 2021-11-15 11:52:15 +01:00
Jakub Sokołowski
f1f3d9f7f8
mtr: fix JSON output format, add libjansson
Currently if you try to use `mtr` with `-j`/`--json` flag you get:
```
mtr: invalid option -- 'j'
```
In order to make this work it has to be built with `libjansson`:
https://github.com/traviscross/mtr/issues/358

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-11-14 19:36:33 +01:00
Sergei Trofimovich
bb3f1c9c9e mtr: fix build against upcoming ncurses-6.3
On ncurses-6.3 with extra printf() annotations gcc now detects
use of user input in place of format strings:

    ui/curses.c:765:42:
      error: format not a string literal and no format arguments [-Werror=format-security]
      765 |         mvprintw(rowstat - 1, startstat, msg);
          |                                          ^~~
2021-11-01 07:43:13 +00:00
Sandro Jäckel
e7a276762b
mtr: cleanup 2021-02-12 20:35:42 +01:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
zowoq
9979d33ac7 mtr: 0.93 -> 0.94
https://github.com/traviscross/mtr/blob/v0.94/NEWS
2020-09-25 13:12:32 +10:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Raymond
d0e1277dfd
mtr: patch for "Error decoding localhost address" 2019-11-16 01:08:28 +03:00
Maximilian Bosch
99b291c73c
Merge pull request #68507 from peterhoeg/f/mtr
nixos/mtr: support for selecting the package
2019-09-12 09:34:22 +02:00
Robin Gloster
4e60b0efae
treewide: update globin's maintained drvs 2019-08-20 19:36:05 +02:00
John Wiegley
2edd7103da
mtr: Only include libcap on Darwin
Fixes #66688
2019-08-15 11:29:13 -07:00
Peter Hoeg
49e61479d4 mtr: build a -gui option as well 2019-08-05 17:39:40 +08:00
Peter Hoeg
32526e65bd mtr: 0.92 -> 0.93 2019-08-05 11:46:24 +08:00
John Ericson
f0d6b385d1 treewide: Make all the rest of configureFlags 2018-08-03 17:06:03 -04:00
Peter Hoeg
68764d50b3 mtr: 0.87 -> 0.92 2017-09-14 18:14:19 +08:00
Volth
8fe525b6c7 mtr: do not do 'setcap' on installPhase, it would fail anyway 2017-06-20 22:22:29 +02:00
Orivej Desh
c272796806 mtr: 0.86 -> 0.87 2017-03-13 04:31:00 +00:00
Kirill Boltaev
0f37287df5 treewide: explicitly specify gtk version 2016-09-13 21:09:24 +03:00
Tobias Geerinckx-Rice
32d40f0f98 Remove no longer (or never) referenced patches
55 files changed, 6041 deletions. Tested with `nix-build -A tarball`.
2016-01-24 02:02:21 +01:00
koral
f5176f4b58 mtr: 0.85 -> 0.86 2015-03-23 11:54:34 +00:00
John Wiegley
86a89a41f8 Update mtr to 0.85, and allow building on any unix 2014-04-14 12:56:52 -05:00
Lluís Batlle i Rossell
8160f816af mtr: adding ncurses support 2013-05-20 17:43:27 +02:00
aszlig
faf5d42621
mtr: Update to new upstream version 0.82.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2012-12-03 11:10:16 +01:00
Michael Raskin
f9a6c93d43 Adding mtr.
svn path=/nixpkgs/trunk/; revision=25495
2011-01-10 15:57:23 +00:00