nixpkgs-suyu/pkgs/applications/networking/sniffers/whsniff/default.nix
2020-05-03 13:22:22 -07:00

25 lines
612 B
Nix

{ stdenv, fetchFromGitHub, libusb1 }:
stdenv.mkDerivation rec {
pname = "whsniff";
version = "1.3";
src = fetchFromGitHub {
owner = "homewsn";
repo = pname;
rev = "v${version}";
sha256 = "000l5vk9c0332m35lndk8892ivdr445lgg25hmq1lajn24cash5w";
};
buildInputs = [ libusb1 ];
installFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
homepage = "https://github.com/homewsn/whsniff";
description = "Packet sniffer for 802.15.4 wireless networks";
maintainers = with maintainers; [ snicket2100 ];
platforms = platforms.linux;
license = licenses.gpl2;
};
}