all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#33130] [PATCH] gnu: Add wavemon.
@ 2018-10-23 18:46 Tobias Geerinckx-Rice
  2018-10-23 21:17 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Tobias Geerinckx-Rice @ 2018-10-23 18:46 UTC (permalink / raw)
  To: 33130

* gnu/packages/hardware.scm (wavemon): New public variable.
---

Guix,

A thing. networking.scm's pretty pudgy (& this is more about radioing than networking anyway) so into hardware.scm it goes.

Kind regards,

T G-R

 gnu/packages/hardware.scm | 42 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm
index 52bc3d052..bfcb2cec8 100644
--- a/gnu/packages/hardware.scm
+++ b/gnu/packages/hardware.scm
@@ -22,11 +22,13 @@
   #:use-module (gnu packages glib)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages ncurses)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xorg)
   #:use-module (guix build-system gnu)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages))
 
@@ -232,3 +234,43 @@ such as the Turbo Boost ratio and Thermal Design Power (@dfn{TDP}) limits.
 MSR addresses differ (greatly) between processors, and any such modification can
 be dangerous and may void your CPU or system board's warranty.")
     (license license:gpl2)))     ; cpuid.c is gpl2, {rd,wr}msr.c are gpl2+
+
+(define-public wavemon
+  (package
+    (name "wavemon")
+    (version "0.8.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/uoaerg/wavemon.git")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0rqpp7rhl9rlwnihsapaiy62v33h45fm3d0ia2nhdjw7fwkwcqvs"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:make-flags
+       (list "CC=gcc"
+             ;; Makefile.in (ab)uses $(datadir) as $(docdir). Set it to Guix's
+             ;; standard --docdir since it's only used as such.
+             (string-append "datadir=" (assoc-ref %outputs "out")
+                            "/share/doc/" ,name "-" ,version))
+       #:tests? #f))                    ; no tests
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("libcap" ,libcap)
+       ("libnl" ,libnl)
+       ("ncurses" ,ncurses)))
+    (home-page "https://github.com/uoaerg/wavemon")
+    (synopsis "Wireless network device monitor")
+    (description
+     "Wavemon is a wireless device monitor with an interactive ncurses terminal
+interface.  It can display and plot signal and noise levels in real time.  It
+also reports packet statistics, device configuration, network parameters, and
+access points and other wireless clients of your wireless network hardware.
+
+Wavemon should work (with varying levels of detail and features) with any device
+supported by the Linux kernel.")
+    (license license:gpl2+)))
-- 
2.18.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#33130] [PATCH] gnu: Add wavemon.
  2018-10-23 18:46 [bug#33130] [PATCH] gnu: Add wavemon Tobias Geerinckx-Rice
@ 2018-10-23 21:17 ` Ludovic Courtès
  2018-10-24  2:59   ` bug#33130: " Tobias Geerinckx-Rice
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2018-10-23 21:17 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: 33130

Tobias Geerinckx-Rice <me@tobias.gr> skribis:

> * gnu/packages/hardware.scm (wavemon): New public variable.

LGTM, thanks!

Ludo'.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#33130: [PATCH] gnu: Add wavemon.
  2018-10-23 21:17 ` Ludovic Courtès
@ 2018-10-24  2:59   ` Tobias Geerinckx-Rice
  0 siblings, 0 replies; 3+ messages in thread
From: Tobias Geerinckx-Rice @ 2018-10-24  2:59 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 33130-done

Ludovic Courtès wrote:
> Tobias Geerinckx-Rice <me@tobias.gr> skribis:
>
>> * gnu/packages/hardware.scm (wavemon): New public variable.
>
> LGTM, thanks!

Thank you.

I've pushed as 0ba0ab814ad12af964d0b7f6e8ef3c50e5815264 with the 
following change:

-    (license license:gpl2+)))
+    ;; Source file headers still say GPL2+, but the authorial 
intent
+    ;; (from COPYING and the F9 'about' screen) is clearly GPL3+.
+    (license license:gpl3+)))

Kind regards,

T G-R

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-10-24  3:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-23 18:46 [bug#33130] [PATCH] gnu: Add wavemon Tobias Geerinckx-Rice
2018-10-23 21:17 ` Ludovic Courtès
2018-10-24  2:59   ` bug#33130: " Tobias Geerinckx-Rice

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.