1 { lib, stdenv, fetchFromGitHub, libusb1 }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "000l5vk9c0332m35lndk8892ivdr445lgg25hmq1lajn24cash5w";
14 buildInputs = [ libusb1 ];
16 installFlags = [ "PREFIX=$(out)" ];
19 homepage = "https://github.com/homewsn/whsniff";
20 description = "Packet sniffer for 802.15.4 wireless networks";
21 mainProgram = "whsniff";
22 maintainers = with maintainers; [ snicket2100 ];
23 platforms = platforms.linux;
24 license = licenses.gpl2Only;