From 1bf986b36901ecdee73e54e8c7a025aa05aa4db5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Wed, 16 Jan 2019 12:59:36 +0100 Subject: [PATCH] dnsperf: nitpick changes - project adopted by DNS-OARC - cleanup the expression --- pkgs/tools/networking/dnsperf/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/dnsperf/default.nix b/pkgs/tools/networking/dnsperf/default.nix index c4849c053227..4dba58140459 100644 --- a/pkgs/tools/networking/dnsperf/default.nix +++ b/pkgs/tools/networking/dnsperf/default.nix @@ -4,6 +4,7 @@ stdenv.mkDerivation rec { name = "dnsperf-${version}"; version = "2.1.0.0"; + # The same as the initial commit of the new GitHub repo (only readme changed). src = fetchurl { url = "ftp://ftp.nominum.com/pub/nominum/dnsperf/${version}/" + "dnsperf-src-${version}-1.tar.gz"; @@ -22,7 +23,7 @@ stdenv.mkDerivation rec { outputs = [ "out" "man" "doc" ]; buildInputs = [ bind zlib openssl ] - ++ stdenv.lib.optional stdenv.isLinux [ libcap libcap.lib libseccomp ]; + ++ stdenv.lib.optionals stdenv.isLinux [ libcap.lib ]; postInstall = '' mkdir -p "$out/share/doc/" @@ -33,7 +34,7 @@ stdenv.mkDerivation rec { outputsToInstall = outputs; # The man pages and PDFs are likely useful to most. description = "Tools for DNS benchmaring"; - homepage = https://www.akamai.com/us/en/products/network-operator/measurement-tools.jsp; + homepage = "https://github.com/DNS-OARC/dnsperf"; license = licenses.isc; platforms = platforms.unix; maintainers = [ maintainers.vcunat ];