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}";
|
2017-09-05 13:01:20 +01:00
|
|
|
version = "2016-07-R1";
|
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";
|
2017-09-05 13:01:20 +01:00
|
|
|
sha256 = "0dz28y4ay4lskhl0lawqy2dkcrhgfkbg06v22qxzzw8i6caizcmx";
|
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
|
|
|
|
2017-09-05 13:01:20 +01:00
|
|
|
meta = with stdenv.lib; {
|
2009-02-01 21:21:27 +00:00
|
|
|
description = "Wireless network sniffer";
|
2017-09-05 13:01:20 +01:00
|
|
|
homepage = https://www.kismetwireless.net/;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
2009-02-01 21:21:27 +00:00
|
|
|
};
|
|
|
|
}
|