lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 24.05-pre 33 lines 852 B view raw
1{ lib, stdenv, fetchFromGitHub, libnl, libpcap, pkg-config }: 2 3stdenv.mkDerivation { 4 pname = "mdk4"; 5 version = "unstable-2021-04-27"; 6 7 src = fetchFromGitHub { 8 owner = "aircrack-ng"; 9 repo = "mdk4"; 10 rev = "e94422ce8e4b8dcd132d658345814df7e63bfa41"; 11 sha256 = "sha256-pZS7HQBKlSZJGqoZlSyBUzXC3osswcB56cBzgm+Sbwg="; 12 }; 13 14 preBuild = '' 15 mkdir -p $out/bin 16 mkdir -p $out/share/man 17 18 substituteInPlace src/Makefile --replace '/usr/local/src/mdk4' '$out' 19 ''; 20 21 nativeBuildInputs = [ pkg-config ]; 22 23 buildInputs = [ libnl libpcap ]; 24 25 makeFlags = [ "PREFIX=$(out)" "SBINDIR=$(PREFIX)/bin" ]; 26 27 meta = with lib; { 28 description = "A tool that injects data into wireless networks"; 29 homepage = "https://github.com/aircrack-ng/mdk4"; 30 maintainers = with maintainers; [ moni ]; 31 license = licenses.gpl2Plus; 32 }; 33}