biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / security / dnspeep / default.nix
blob73edd9724a0a66771591a4eb203850d21b158be1
1 { lib, rustPlatform, fetchFromGitHub, libpcap }:
3 rustPlatform.buildRustPackage rec {
4   pname = "dnspeep";
5   version = "0.1.3";
7   src = fetchFromGitHub {
8     owner = "jvns";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "sha256-QpUbHiMDQFRCTVyjrO9lfQQ62Z3qanv0j+8eEXjE3n4=";
12   };
14   cargoLock = {
15     lockFile = ./Cargo.lock;
16     outputHashes = {
17       "pcap-0.8.1" = "sha256-baoHK3Q+5Qp9ccGqDGd5K5q87c5JufpNJHRdBin0zto=";
18     };
19   };
21   LIBPCAP_LIBDIR = lib.makeLibraryPath [ libpcap ];
22   LIBPCAP_VER = libpcap.version;
24   meta = with lib; {
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 ];
30   };