[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] gnu: Add nyx.
From: |
ng0 |
Subject: |
Re: [PATCH 2/2] gnu: Add nyx. |
Date: |
Mon, 30 Jan 2017 19:16:04 +0000 |
Tobias Geerinckx-Rice <address@hidden> writes:
> Ludo',
>
> On 30/01/17 15:31, Ludovic Courtès wrote:
>> Yeah if you can make sure to integrate any missing bits of ng0’s
>> original patch and to address what was previously raised during review,
>> I think you can go ahead and push.
>
> Great. Thanks!
>
> Are you referring to any specific missing bits, or raised issues? I
> thought I'd addressed them all in my reply.
>
> I have kept my ‘1.9-’ version base, to highlight that Nyx 2.0 is
> supposedly its own thing; a complete re-write since Arm 1.4.5.
I think 1.9 is okay, we can verify if 2.0 works once it's out or
tagged, or whatever. I just packaged the HEAD (so 2.0) as I had
no clue about their versions.
> Kind regards,
>
> T G-R
>
> ---
>
> The current package:
>
> (define-public nyx
> ;; The last ‘arm’ relase was 5 years ago. Meanwhile, python3 support
> ;; has been added and the software was renamed to ‘nyx’.
> (let ((commit "fea209127484d9b304b908a4711c9528b1d065bc")
> (revision "1")) ; Guix package revision
> (package
> (name "nyx")
> (version (string-append "1.9-"
> revision "." (string-take commit 7)))
> (source
> (origin
> (method git-fetch)
> (file-name (string-append name "-" version "-checkout"))
> (uri (git-reference
> (url "https://git.torproject.org/nyx.git")
> (commit commit)))
> (sha256
> (base32
> "1g0l4988076xg5gs0x0nxzlg58rfx5g5agmklvyh4yp03vxncdb9"))))
> (build-system python-build-system)
> (native-inputs
> `(("python-mock" ,python-mock)
> ("python-pep8" ,python-pep8)
> ("python-pyflakes" ,python-pyflakes)))
> (inputs
> `(("python-stem" ,python-stem)))
> (arguments
> `(#:configure-flags
> (list (string-append "--man-page="
> (assoc-ref %outputs "out")
> "/share/man/man1/nyx.1")
> (string-append "--sample-path="
> (assoc-ref %outputs "out")
> "/share/doc/nyx/nyxrc.sample"))
> #:use-setuptools? #f ; setup.py still uses distutils
> #:phases
> (modify-phases %standard-phases
> (replace 'check
> (lambda _
> (zero? (system* "./run_tests.py" "--unit")))))))
> ;; There's no home page yet. This should change before the 2.0
> release.
> (home-page "https://gitweb.torproject.org/nyx.git")
> (synopsis "Tor relay status monitor")
> (description "Nyx (formerly Anonymizing Relay Monitor or \"arm\")
> monitors the performance of relays participating in the
> @uref{https://www.torproject.org/, Tor anonymity network}. It displays this
> information visually and in real time, using a curses-based terminal
> interface.
> This makes Nyx well-suited for remote shell connections and servers
> without a
> graphical display. It's like @command{top} for Tor, providing detailed
> statistics and status reports on:
>
> @enumerate
> @item connections (with IP address, hostname, fingerprint, and consensus
> data),
> @item bandwidth, processor, and memory usage,
> @item the relay's current configuration,
> @item logged events,
> @item and much more.
> @end enumerate
>
> Potential client and exit connections are scrubbed of sensitive
> information.")
> (license license:gpl3))))
>
--
ng0 -- https://www.inventati.org/patternsinthechaos/
Re: [PATCH 1/2] gnu: tor: Use ‘license:’ prefix instead of #:select., Ludovic Courtès, 2017/01/30