mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 03:15:56 +03:00
Merge pull request #61620 from dtzWill/update/dnstracer-1.10
dnstracer: 1.9 -> 1.10, touchup
This commit is contained in:
commit
d213a8ff9c
@ -1,18 +1,25 @@
|
||||
{ stdenv, fetchurl, libresolv }:
|
||||
{ stdenv, fetchurl, libresolv, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.9";
|
||||
name = "dnstracer-${version}";
|
||||
version = "1.10";
|
||||
pname = "dnstracer";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.mavetju.org/download/${name}.tar.gz";
|
||||
sha256 = "177y58smnq2xhx9lbmj1gria371iv3r1d132l2gjvflkjsphig1f";
|
||||
url = "https://www.mavetju.org/download/${pname}-${version}.tar.bz2";
|
||||
sha256 = "089bmrjnmsga2n0r4xgw4bwbf41xdqsnmabjxhw8lngg2pns1kb4";
|
||||
};
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
nativeBuildInputs = [ perl /* for pod2man */ ];
|
||||
|
||||
setOutputFlags = false;
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 -t $out/bin dnstracer
|
||||
install -Dm755 -t $man/share/man/man8 dnstracer.8
|
||||
'';
|
||||
|
||||
buildInputs = [] ++ stdenv.lib.optionals stdenv.isDarwin [ libresolv ];
|
||||
|
||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lresolv";
|
||||
|
Loading…
Reference in New Issue
Block a user