2021-10-08 15:17:17 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub, libpcap }:
|
2021-08-11 14:56:57 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "dnspeep";
|
2022-01-27 00:19:43 +00:00
|
|
|
version = "0.1.3";
|
2021-08-11 14:56:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jvns";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-01-27 00:19:43 +00:00
|
|
|
sha256 = "sha256-QpUbHiMDQFRCTVyjrO9lfQQ62Z3qanv0j+8eEXjE3n4=";
|
2021-08-11 14:56:57 +00:00
|
|
|
};
|
|
|
|
|
2022-01-27 00:19:43 +00:00
|
|
|
cargoSha256 = "sha256-w81FewtyweuSNYNPNr2uxB0uB1JoN5t252CAG1pm4Z8=";
|
2021-08-11 14:56:57 +00:00
|
|
|
|
|
|
|
LIBPCAP_LIBDIR = lib.makeLibraryPath [ libpcap ];
|
|
|
|
LIBPCAP_VER = libpcap.version;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Spy on the DNS queries your computer is making";
|
|
|
|
homepage = "https://github.com/jvns/dnspeep";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
|
|
|
};
|
|
|
|
}
|