guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: Add nyx.


From: contact . ng0
Subject: Re: [PATCH] gnu: Add nyx.
Date: Wed, 18 Jan 2017 16:57:50 +0000

There should be a cover letter... but I hope gnu.org just keeps
it and I don't see it here.

Thing is, tests are broken and their custom install phase is
broken too. I think Efraim has experience in fixing tor software
and it would be great if this doesn't fall into branch-sleep for
weeks or months here on my side.

address@hidden writes:

> From: ng0 <address@hidden>
>
> * gnu/packages/tor.scm (nyx): New variable.
> ---
>  gnu/packages/tor.scm | 46 +++++++++++++++++++++++++++++++++++++++++++++-
>  1 file changed, 45 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/tor.scm b/gnu/packages/tor.scm
> index 6f26f404b..8b03b14c6 100644
> --- a/gnu/packages/tor.scm
> +++ b/gnu/packages/tor.scm
> @@ -2,7 +2,7 @@
>  ;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <address@hidden>
>  ;;; Copyright © 2014, 2015 Mark H Weaver <address@hidden>
>  ;;; Copyright © 2016 Efraim Flashner <address@hidden>
> -;;; Copyright © 2016 ng0 <address@hidden>
> +;;; Copyright © 2016, 2017 ng0 <address@hidden>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -28,11 +28,14 @@
>    #:use-module (guix build-system python)
>    #:use-module (gnu packages)
>    #:use-module (gnu packages libevent)
> +  #:use-module (gnu packages lsof)
>    #:use-module (gnu packages compression)
>    #:use-module (gnu packages pcre)
>    #:use-module (gnu packages python)
>    #:use-module (gnu packages qt)
>    #:use-module (gnu packages autotools)
> +  #:use-module (gnu packages dns)
> +  #:use-module (gnu packages linux)
>    #:use-module (gnu packages tls)
>    #:use-module (gnu packages w3m))
>  
> @@ -223,3 +226,44 @@ internet.  The other user just needs to use Tor Browser 
> to download the file
>  from you.")
>      (license (list gpl3+
>                     bsd-3)))) ; onionshare/socks.py
> +
> +;; The last release of arm was 5 years ago, meanwhile python3 support has
> +;; been added and the software was renamed to nyx.
> +(define-public nyx
> +  (let ((commit "fea209127484d9b304b908a4711c9528b1d065bc")
> +        (revision "1"))
> +    (package
> +      (name "nyx")
> +      (version (string-append "1.4.5.0-" revision "." (string-take commit 
> 7)))
> +      (source
> +       (origin
> +         (method git-fetch)
> +         (uri (git-reference
> +               (url "https://git.torproject.org/nyx.git";)
> +               (commit commit)))
> +         (file-name (string-append name "-" version "-checkout"))
> +         (sha256
> +          (base32
> +           "1g0l4988076xg5gs0x0nxzlg58rfx5g5agmklvyh4yp03vxncdb9"))))
> +      (build-system python-build-system)
> +      (arguments
> +       `(#:tests? #f ;122 out of 228 fail because the tests need internet.
> +         #:phases
> +         (modify-phases %standard-phases
> +           (replace 'install
> +             (lambda _
> +               (zero? (system* "python" "setup.py" "install")))))))
> +      (inputs
> +       `(("tor" ,tor)
> +         ("python-stem" ,python-stem)))
> +      ;; (native-inputs
> +      ;;  `(("python-mock" ,python-mock)
> +      ;;    ("lsof" ,lsof)
> +      ;;    ("net-tools" ,net-tools)))
> +    (home-page "https://www.atagar.com/arm/";)
> +    (synopsis "Ncurses-based status monitor for Tor relays")
> +    (description
> +     "Anonymizing relay monitor (arm) is a command line interface status
> +monitor for Tor.  This functions much like top does for system usage,
> +providing real time statistics.")
> +    (license gpl3+))))
> -- 
> 2.11.0
>
>

-- 
♥Ⓐ  ng0 -- https://www.inventati.org/patternsinthechaos/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]