Merge pull request #68507 from peterhoeg/f/mtr
nixos/mtr: support for selecting the package
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user