mtr: build a -gui option as well
This commit is contained in:
parent
89721e4954
commit
49e61479d4
@ -1,11 +1,11 @@
|
|||||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
|
{ stdenv, lib, fetchFromGitHub, autoreconfHook, pkgconfig
|
||||||
, libcap, ncurses
|
, libcap, ncurses
|
||||||
, withGtk ? false, gtk2 ? null }:
|
, withGtk ? false, gtk2 ? null }:
|
||||||
|
|
||||||
assert withGtk -> gtk2 != null;
|
assert withGtk -> gtk2 != null;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "mtr";
|
pname = "mtr${lib.optionalString withGtk "-gui"}";
|
||||||
version = "0.93";
|
version = "0.93";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
@ -4781,6 +4781,8 @@ in
|
|||||||
|
|
||||||
mtr = callPackage ../tools/networking/mtr {};
|
mtr = callPackage ../tools/networking/mtr {};
|
||||||
|
|
||||||
|
mtr-gui = callPackage ../tools/networking/mtr { withGtk = true; };
|
||||||
|
|
||||||
mtx = callPackage ../tools/backup/mtx {};
|
mtx = callPackage ../tools/backup/mtx {};
|
||||||
|
|
||||||
mt-st = callPackage ../tools/backup/mt-st {};
|
mt-st = callPackage ../tools/backup/mt-st {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user