unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ng0 <contact.ng0@cryptolab.net>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add nyx.
Date: Sat, 21 Jan 2017 12:01:13 +0000	[thread overview]
Message-ID: <874m0shbau.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <87a8aldftm.fsf@gnu.org>

Ludovic Courtès <ludo@gnu.org> writes:

> contact.ng0@cryptolab.net skribis:
>
>> From: ng0 <ng0@libertad.pw>
>>
>> * gnu/packages/tor.scm (nyx): New variable.
>
> I applied the changes below and then realized that it fails to build:
>
> --8<---------------cut here---------------start------------->8---
> starting phase `install'
> running install
> running build
> running build_py
> running install_lib
> creating /gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/site-packages/nyx
> /gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'install_requires'
>   warnings.warn(msg)
> error: could not create '/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/site-packages/nyx': Permission denied
> phase `install' failed after 0.9 seconds
> --8<---------------cut here---------------end--------------->8---
>
> Could you send an update?

That's exactly why I have sent it. I can't make it build because
it requires work to be done by someone involved more in python
than I am.
Of course when I wait some more time maybe I'll get the idea,
meanwhile I prefer to keep this "up for grabs", but we both know
that this almost never works out.

I also have an arm package, but I would prefer to get this
distributed rather than arm (arm also requires too much
patching).

I will consider your changes and see if I can fix it some day or
if someone else grabs it. It's all distraction from more
important tasks anyway.

> Thanks,
> Ludo’.
>
> diff --git a/gnu/packages/tor.scm b/gnu/packages/tor.scm
> index 8b03b14c6..cbc857e48 100644
> --- a/gnu/packages/tor.scm
> +++ b/gnu/packages/tor.scm
> @@ -227,16 +227,16 @@ 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.
> +;; 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
> +      (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")
> @@ -256,14 +256,10 @@ from you.")
>        (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.")
> +       "Nyx (formerly Anonymizing Relay Monitor or \"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+))))

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

  reply	other threads:[~2017-01-21 12:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-18 16:39 Torproject software: Nyx (previously known as ARM) contact.ng0
2017-01-18 16:39 ` [PATCH] gnu: Add nyx contact.ng0
2017-01-18 16:57   ` contact.ng0
2017-01-20 13:24   ` Ludovic Courtès
2017-01-21 12:01     ` ng0 [this message]
2017-01-21 19:38       ` Ricardo Wurmus
2017-01-22 18:44         ` ng0
2017-01-22 19:20           ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874m0shbau.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me \
    --to=contact.ng0@cryptolab.net \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).