2013-09-07 13:46:53 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libpcap, ncurses, expat, pcre, libnl }:
|
2009-02-01 21:21:27 +00:00
|
|
|
|
2013-09-07 13:46:53 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "kismet-${version}";
|
|
|
|
version = "2013-03-R1b";
|
2009-02-01 21:21:27 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-09-07 13:46:53 +01:00
|
|
|
url = "http://www.kismetwireless.net/code/${name}.tar.xz";
|
|
|
|
sha256 = "0b3wabdkh0p3msphihm4kz5yw02p27ska5lfippfcyn6z1z4svb3";
|
2009-02-01 21:21:27 +00:00
|
|
|
};
|
|
|
|
|
2013-09-07 13:46:53 +01:00
|
|
|
buildInputs = [ pkgconfig libpcap ncurses expat pcre libnl ];
|
|
|
|
postConfigure = ''
|
|
|
|
sed -e 's/-o $(INSTUSR)//' \
|
|
|
|
-e 's/-g $(INSTGRP)//' \
|
|
|
|
-e 's/-g $(MANGRP)//' \
|
|
|
|
-e 's/-g $(SUIDGROUP)//' \
|
|
|
|
-i Makefile
|
|
|
|
'';
|
2009-02-01 21:21:27 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Wireless network sniffer";
|
|
|
|
homepage = http://www.kismetwireless.net/;
|
|
|
|
license = "GPL";
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-02-01 21:21:27 +00:00
|
|
|
};
|
|
|
|
}
|