Merge pull request #68507 from peterhoeg/f/mtr

nixos/mtr: support for selecting the package
This commit is contained in:
Maximilian Bosch
2019-09-12 09:34:22 +02:00
committed by GitHub
3 changed files with 16 additions and 4 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 {