nixpkgs/pkgs/tools/networking/wavemon/default.nix
2024-02-11 03:19:15 +01:00

38 lines
714 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, libnl
, ncurses
, pkg-config
}:
stdenv.mkDerivation rec {
pname = "wavemon";
version = "0.9.5";
src = fetchFromGitHub {
owner = "uoaerg";
repo = "wavemon";
rev = "v${version}";
sha256 = "sha256-MvIFuPATI0Y7aIYZkb2Yr+iCco4gILHhDU5FWeMCk5Q=";
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
libnl
ncurses
];
meta = with lib; {
description = "Ncurses-based monitoring application for wireless network devices";
homepage = "https://github.com/uoaerg/wavemon";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ raskin fpletz ];
platforms = platforms.linux;
mainProgram = "wavemon";
};
}