1{
2 stdenv,
3 lib,
4 fetchFromGitHub,
5 cmake,
6 libev,
7 libnl,
8 libpcap,
9}:
10
11stdenv.mkDerivation {
12 pname = "owl";
13 version = "0-unstable-2022-01-30";
14
15 src = fetchFromGitHub {
16 owner = "seemoo-lab";
17 repo = "owl";
18 rev = "8e4e840b212ae5a09a8a99484be3ab18bad22fa7";
19 hash = "sha256-kFk+JFLGWGBu5FPH3qp/Bxa6t04f1kpeHz3H8GNF3fg=";
20 fetchSubmodules = true;
21 };
22
23 nativeBuildInputs = [ cmake ];
24 buildInputs = [
25 libev
26 libnl
27 libpcap
28 ];
29
30 meta = with lib; {
31 description = "Open Apple Wireless Direct Link (AWDL) implementation written in C";
32 homepage = "https://owlink.org/";
33 license = licenses.gpl3Only;
34 maintainers = [ ];
35 platforms = [ "x86_64-linux" ];
36 mainProgram = "owl";
37 };
38}