dput-ng: fix eval (#364540)
[NixPkgs.git] / pkgs / by-name / ow / owl / package.nix
blob73f4755972df424a23af115c303651d5ac9c9f96
2   stdenv,
3   lib,
4   fetchFromGitHub,
5   cmake,
6   libev,
7   libnl,
8   libpcap,
9 }:
11 stdenv.mkDerivation rec {
12   pname = "owl";
13   version = "unstable-2022-01-30";
15   src = fetchFromGitHub {
16     owner = "seemoo-lab";
17     repo = "owl";
18     rev = "8e4e840b212ae5a09a8a99484be3ab18bad22fa7";
19     hash = "sha256-kFk+JFLGWGBu5FPH3qp/Bxa6t04f1kpeHz3H8GNF3fg=";
20     fetchSubmodules = true;
21   };
23   nativeBuildInputs = [ cmake ];
24   buildInputs = [
25     libev
26     libnl
27     libpcap
28   ];
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   };