Merge pull request #147688 from fabaff/bump-dnsperf

dnsperf: 2.5.2 -> 2.8.0

authored by

Fabian Affolter and committed by
GitHub
2cb11c13 ed9f0d6c

+19 -26
+19 -26
pkgs/tools/networking/dnsperf/default.nix
··· 1 - { lib, stdenv, fetchurl, fetchFromGitHub, autoreconfHook, pkg-config 2 - , openssl, ldns, libck 3 }: 4 5 stdenv.mkDerivation rec { 6 pname = "dnsperf"; 7 - version = "2.5.2"; 8 9 - # The same as the initial commit of the new GitHub repo (only readme changed). 10 src = fetchFromGitHub { 11 owner = "DNS-OARC"; 12 repo = "dnsperf"; 13 rev = "v${version}"; 14 - sha256 = "0dzi28z7hnyxbibwdsalvd93czf4d5pgmvrbn6hlh52znsn40gbb"; 15 }; 16 17 - outputs = [ "out" "man" "doc" ]; 18 - 19 - nativeBuildInputs = [ autoreconfHook pkg-config ]; 20 21 buildInputs = [ 22 - openssl 23 ldns # optional for DDNS (but cheap anyway) 24 libck 25 ]; 26 27 doCheck = true; 28 29 - # For now, keep including the old PDFs as well. 30 - # https://github.com/DNS-OARC/dnsperf/issues/27 31 - postInstall = let 32 - src-doc = fetchurl { 33 - url = "ftp://ftp.nominum.com/pub/nominum/dnsperf/2.1.0.0/" 34 - + "dnsperf-src-2.1.0.0-1.tar.gz"; 35 - sha256 = "03kfc65s5a9csa5i7xjsv0psq144k8d9yw7xlny61bg1h2kg1db4"; 36 - }; 37 - in '' 38 - tar xf '${src-doc}' 39 - cp ./dnsperf-src-*/doc/*.pdf "$doc/share/doc/dnsperf/" 40 - ''; 41 - 42 meta = with lib; { 43 - outputsToInstall = outputs; # The man pages and docs are likely useful to most. 44 - 45 description = "Tools for DNS benchmaring"; 46 - homepage = "https://github.com/DNS-OARC/dnsperf"; 47 license = licenses.isc; 48 platforms = platforms.unix; 49 - maintainers = [ maintainers.vcunat ]; 50 }; 51 }
··· 1 + { lib 2 + , stdenv 3 + , autoreconfHook 4 + , fetchFromGitHub 5 + , ldns 6 + , libck 7 + , nghttp2 8 + , openssl 9 + , pkg-config 10 }: 11 12 stdenv.mkDerivation rec { 13 pname = "dnsperf"; 14 + version = "2.8.0"; 15 16 src = fetchFromGitHub { 17 owner = "DNS-OARC"; 18 repo = "dnsperf"; 19 rev = "v${version}"; 20 + sha256 = "sha256-jemce+ix18IPAusEHh5QWcSQn/QRUOc3HTSk9jGt+SA="; 21 }; 22 23 + nativeBuildInputs = [ 24 + autoreconfHook 25 + pkg-config 26 + ]; 27 28 buildInputs = [ 29 ldns # optional for DDNS (but cheap anyway) 30 libck 31 + nghttp2 32 + openssl 33 ]; 34 35 doCheck = true; 36 37 meta = with lib; { 38 description = "Tools for DNS benchmaring"; 39 + homepage = "https://www.dns-oarc.net/tools/dnsperf"; 40 license = licenses.isc; 41 platforms = platforms.unix; 42 + maintainers = with maintainers; [ vcunat ]; 43 }; 44 }