about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/networking/wavemon/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/tools/networking/wavemon/default.nix')
-rw-r--r--nixpkgs/pkgs/tools/networking/wavemon/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/networking/wavemon/default.nix b/nixpkgs/pkgs/tools/networking/wavemon/default.nix
new file mode 100644
index 000000000000..dab52720a029
--- /dev/null
+++ b/nixpkgs/pkgs/tools/networking/wavemon/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, fetchFromGitHub, ncurses, libnl, pkgconfig }:
+
+stdenv.mkDerivation rec {
+  version = "0.9.1";
+  baseName = "wavemon";
+  name = "${baseName}-${version}";
+
+  nativeBuildInputs = [ pkgconfig ];
+  buildInputs = [ ncurses libnl ];
+
+  src = fetchFromGitHub {
+    owner = "uoaerg";
+    repo = "wavemon";
+    rev = "v${version}";
+    sha256 = "109ycwnjjqc2vpnd8b86njfifczlxglnyv4rh2qmbn2i5nw2wryg";
+  };
+
+  meta = with stdenv.lib; {
+    inherit version;
+    description = "Ncurses-based monitoring application for wireless network devices";
+    homepage = "https://github.com/uoaerg/wavemon";
+    license = licenses.gpl3Plus;
+    maintainers = with maintainers; [ raskin fpletz ];
+    platforms = stdenv.lib.platforms.linux;
+  };
+}