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

37 lines
686 B
Nix
Raw Normal View History

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