3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/sniffers/whsniff/default.nix

26 lines
614 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, libusb1 }:
2020-04-26 12:09:39 +01:00
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 lib; {
2020-04-26 12:09:39 +01:00
homepage = "https://github.com/homewsn/whsniff";
description = "Packet sniffer for 802.15.4 wireless networks";
maintainers = with maintainers; [ snicket2100 ];
platforms = platforms.linux;
2021-09-20 12:18:20 +01:00
license = licenses.gpl2Only;
2020-04-26 12:09:39 +01:00
};
}