1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 10:56:53 +00:00
nixpkgs/pkgs/tools/networking/aircrack-ng/default.nix

26 lines
782 B
Nix
Raw Normal View History

2014-06-01 14:40:14 +01:00
{ stdenv, fetchurl, libpcap, openssl, zlib, wirelesstools, libnl, pkgconfig }:
stdenv.mkDerivation rec {
2017-02-02 02:03:22 +00:00
name = "aircrack-ng-1.2-rc4";
src = fetchurl {
url = "http://download.aircrack-ng.org/${name}.tar.gz";
2017-02-02 02:03:22 +00:00
sha256 = "0dpzx9kddxpgzmgvdpl3rxn0jdaqhm5wxxndp1xd7d75mmmc2fnr";
};
2014-06-01 14:40:14 +01:00
buildInputs = [ libpcap openssl zlib libnl pkgconfig ];
patchPhase = ''
sed -e 's@^prefix.*@prefix = '$out@ -i common.mak
sed -e 's@/usr/local/bin@'${wirelesstools}@ -i src/osdep/linux.c
'';
2013-06-02 19:37:14 +01:00
meta = with stdenv.lib; {
description = "Wireless encryption cracking tools";
homepage = http://www.aircrack-ng.org/;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ domenkozar viric garbas chaoflow nckx ];
2013-06-02 23:31:33 +01:00
platforms = platforms.linux;
};
}