2017-10-25 23:56:19 +00:00
|
|
|
{ stdenv, fetchurl, libresolv }:
|
2017-10-07 19:05:25 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.9";
|
2018-05-24 04:37:33 +00:00
|
|
|
name = "dnstracer-${version}";
|
2017-10-07 19:05:25 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 18:43:35 +00:00
|
|
|
url = "https://www.mavetju.org/download/${name}.tar.gz";
|
2017-10-07 19:05:25 +00:00
|
|
|
sha256 = "177y58smnq2xhx9lbmj1gria371iv3r1d132l2gjvflkjsphig1f";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = [ "out" "man" ];
|
|
|
|
|
|
|
|
setOutputFlags = false;
|
|
|
|
|
2017-10-25 23:56:19 +00:00
|
|
|
buildInputs = [] ++ stdenv.lib.optionals stdenv.isDarwin [ libresolv ];
|
|
|
|
|
|
|
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lresolv";
|
|
|
|
|
2017-10-07 19:05:25 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Dnstracer determines where a given Domain Name Server (DNS) gets its information from, and follows the chain of DNS servers back to the servers which know the data.";
|
|
|
|
homepage = http://www.mavetju.org/unix/general.php;
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ andir ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|