2021-01-17 04:51:22 +01:00
|
|
|
{lib, stdenv, fetchFromGitHub, pkg-config, ncurses, libnl }:
|
2015-07-23 01:17:12 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "horst";
|
2019-05-11 00:05:31 +02:00
|
|
|
version = "5.1";
|
2015-07-23 01:17:12 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "br101";
|
|
|
|
repo = "horst";
|
2019-05-11 00:05:31 +02:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "140pyv6rlsh4c745w4b59pz3hrarr39qq3mz9z1lsd3avc12nx1a";
|
2015-07-23 01:17:12 +02:00
|
|
|
};
|
|
|
|
|
2021-01-17 04:51:22 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2015-07-23 01:17:12 +02:00
|
|
|
buildInputs = [ ncurses libnl ];
|
|
|
|
|
2019-05-11 00:05:31 +02:00
|
|
|
installFlags = [ "DESTDIR=${placeholder "out"}" ];
|
2015-07-23 01:17:12 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2015-07-23 01:17:12 +02:00
|
|
|
description = "Small and lightweight IEEE802.11 wireless LAN analyzer with a text interface";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://br1.einfach.org/tech/horst/";
|
2015-07-23 01:17:12 +02:00
|
|
|
maintainers = [ maintainers.fpletz ];
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|