mtr: build a -gui option as well

This commit is contained in:
Peter Hoeg
2019-08-05 17:39:40 +08:00
parent 89721e4954
commit 49e61479d4
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
{ stdenv, lib, fetchFromGitHub, autoreconfHook, pkgconfig
, libcap, ncurses
, withGtk ? false, gtk2 ? null }:
assert withGtk -> gtk2 != null;
stdenv.mkDerivation rec {
pname = "mtr";
pname = "mtr${lib.optionalString withGtk "-gui"}";
version = "0.93";
src = fetchFromGitHub {