nixpkgs/pkgs/tools/networking/wavemon/default.nix

37 lines
686 B
Nix
Raw Normal View History

2021-09-19 22:43:35 +01:00
{ lib
, stdenv
, fetchFromGitHub
, libnl
, ncurses
, pkg-config
}:
2017-08-01 07:30:39 +01:00
stdenv.mkDerivation rec {
2021-01-03 08:44:14 +00:00
pname = "wavemon";
2021-09-19 22:43:35 +01:00
version = "0.9.4";
2017-08-01 07:30:39 +01:00
src = fetchFromGitHub {
owner = "uoaerg";
repo = "wavemon";
rev = "v${version}";
2021-09-19 22:43:35 +01:00
sha256 = "0s3yz15vzx90fxyb8bgryksn0cr2gpz9inbcx4qjrgs7zfbm4pgh";
};
2017-08-01 07:30:39 +01:00
2021-09-19 22:43:35 +01:00
nativeBuildInputs = [
pkg-config
];
buildInputs = [
libnl
ncurses
];
meta = with lib; {
2017-08-01 07:30:39 +01:00
description = "Ncurses-based monitoring application for wireless network devices";
homepage = "https://github.com/uoaerg/wavemon";
2017-08-01 07:30:39 +01:00
license = licenses.gpl3Plus;
maintainers = with maintainers; [ raskin fpletz ];
2021-09-19 22:43:35 +01:00
platforms = platforms.linux;
};
}