1 { lib, rustPlatform, fetchFromGitHub, libpcap }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-QpUbHiMDQFRCTVyjrO9lfQQ62Z3qanv0j+8eEXjE3n4=";
15 lockFile = ./Cargo.lock;
17 "pcap-0.8.1" = "sha256-baoHK3Q+5Qp9ccGqDGd5K5q87c5JufpNJHRdBin0zto=";
21 LIBPCAP_LIBDIR = lib.makeLibraryPath [ libpcap ];
22 LIBPCAP_VER = libpcap.version;
25 description = "Spy on the DNS queries your computer is making";
26 mainProgram = "dnspeep";
27 homepage = "https://github.com/jvns/dnspeep";
28 license = licenses.mit;
29 maintainers = with maintainers; [ figsoda ];