blob: c7d06274bea0ee65df1383382c88f4e1ef33b377 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{stdenv, fetchFromGitHub, pkgconfig, ncurses, libnl }:
stdenv.mkDerivation rec {
name = "horst-${version}";
version = "5.0";
src = fetchFromGitHub {
owner = "br101";
repo = "horst";
rev = "version-${version}";
sha256 = "0m7gc6dj816z8wyq5bdkqj7fw6rmxaah84s34ncsaispz2llva1x";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ ncurses libnl ];
installPhase = ''
mkdir -p $out/bin
mv horst $out/bin
mkdir -p $out/man/man1
cp horst.1 $out/man/man1
'';
meta = with stdenv.lib; {
description = "Small and lightweight IEEE802.11 wireless LAN analyzer with a text interface";
homepage = http://br1.einfach.org/tech/horst/;
maintainers = [ maintainers.fpletz ];
license = licenses.gpl3;
platforms = platforms.linux;
};
}
|