mtr: 0.86 -> 0.87

This commit is contained in:
Orivej Desh 2017-03-13 04:22:29 +00:00
parent f7fd8a6f73
commit c272796806

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl, ncurses, autoconf {stdenv, fetchurl, autoreconfHook, pkgconfig, ncurses
, withGtk ? false, gtk2 ? null}: , withGtk ? false, gtk2 ? null}:
assert withGtk -> gtk2 != null; assert withGtk -> gtk2 != null;
@ -6,24 +6,27 @@ assert withGtk -> gtk2 != null;
with stdenv.lib; with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
baseName="mtr"; baseName="mtr";
version="0.86"; version="0.87";
name="${baseName}-${version}"; name="${baseName}-${version}";
src = fetchurl { src = fetchurl {
url="ftp://ftp.bitwizard.nl/${baseName}/${name}.tar.gz"; url="ftp://ftp.bitwizard.nl/${baseName}/${name}.tar.gz";
sha256 = "01lcy89q3i9g4kz4liy6m7kcq1zyvmbc63rqidgw67341f94inf5"; sha256 = "17zi99n8bdqrwrnbfyjn327jz4gxx287wrq3vk459c933p34ff8r";
}; };
configureFlags = optionalString (!withGtk) "--without-gtk"; configureFlags = optionalString (!withGtk) "--without-gtk";
buildInputs = [ autoconf ncurses ] ++ optional withGtk gtk2; nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ ncurses ] ++ optional withGtk gtk2;
enableParallelBuilding = true;
meta = { meta = {
homepage = http://www.bitwizard.nl/mtr/; homepage = http://www.bitwizard.nl/mtr/;
description = "A network diagnostics tool"; description = "A network diagnostics tool";
maintainers = [ maintainers.koral maintainers.raskin ]; maintainers = with maintainers; [ koral orivej raskin ];
platforms = platforms.unix; platforms = platforms.unix;
license = licenses.gpl2; license = licenses.gpl2;
}; };
} }