nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 libnl,
6 ncurses,
7 pkg-config,
8}:
9
10stdenv.mkDerivation (finalAttrs: {
11 pname = "wavemon";
12 version = "0.9.6";
13
14 src = fetchFromGitHub {
15 owner = "uoaerg";
16 repo = "wavemon";
17 rev = "v${finalAttrs.version}";
18 sha256 = "sha256-OnELXlnzXamQflCAWuc4fxwvqHZtl+nrlTpkKK4IGKw=";
19 };
20
21 nativeBuildInputs = [
22 pkg-config
23 ];
24
25 buildInputs = [
26 libnl
27 ncurses
28 ];
29
30 meta = {
31 description = "Ncurses-based monitoring application for wireless network devices";
32 homepage = "https://github.com/uoaerg/wavemon";
33 license = lib.licenses.gpl3Plus;
34 maintainers = with lib.maintainers; [
35 raskin
36 fpletz
37 ];
38 platforms = lib.platforms.linux;
39 mainProgram = "wavemon";
40 };
41})