1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 13:44:50 +00:00
nixpkgs/pkgs/applications/networking/sniffers/kismet/default.nix
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00

28 lines
734 B
Nix

{ stdenv, fetchurl, pkgconfig, libpcap, ncurses, expat, pcre, libnl }:
stdenv.mkDerivation rec {
name = "kismet-${version}";
version = "2013-03-R1b";
src = fetchurl {
url = "http://www.kismetwireless.net/code/${name}.tar.xz";
sha256 = "0b3wabdkh0p3msphihm4kz5yw02p27ska5lfippfcyn6z1z4svb3";
};
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
'';
meta = {
description = "Wireless network sniffer";
homepage = http://www.kismetwireless.net/;
license = "GPL";
platforms = stdenv.lib.platforms.linux;
};
}