9 buildPythonPackage rec {
12 disabled = isPy3k || isPyPy;
15 url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/{pname}/${pname}-${version}-source.tgz";
16 sha256 = "09clbcd6wxgk4r6qw7hb78h818mvca7lijigy1mlq5y1f3lgkk1h";
19 # error: invalid command 'test'
22 propagatedBuildInputs = [ tkinter ];
24 # namebench expects to be run from its own source tree (it uses relative
25 # paths to various resources), make it work.
27 sed -i "s|import os|import os; os.chdir(\"$out/namebench\")|" "$out/bin/namebench.py"
31 homepage = "https://github.com/google/namebench"; # Formerly https://code.google.com/archive/p/namebench/
32 description = "Find fastest DNS servers available";
33 license = with licenses; [
35 # third-party program licenses (embedded in the sources)
36 lgpl21 # Crystal_Clear
41 It hunts down the fastest DNS servers available for your computer to
42 use. namebench runs a fair and thorough benchmark using your web
43 browser history, tcpdump output, or standardized datasets in order
44 to provide an individualized recommendation. namebench is completely
45 free and does not modify your system in any way.