From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] gnu: Add nyx. Date: Fri, 20 Jan 2017 14:24:53 +0100 Message-ID: <87a8aldftm.fsf@gnu.org> References: <20170118163906.2474-1-contact.ng0@cryptolab.net> <20170118163906.2474-2-contact.ng0@cryptolab.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51784) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUZBi-00069k-8q for guix-devel@gnu.org; Fri, 20 Jan 2017 08:25:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUZBh-000169-2m for guix-devel@gnu.org; Fri, 20 Jan 2017 08:25:06 -0500 In-Reply-To: <20170118163906.2474-2-contact.ng0@cryptolab.net> (contact's message of "Wed, 18 Jan 2017 16:39:06 +0000") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: contact.ng0@cryptolab.net Cc: guix-devel@gnu.org, ng0 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable contact.ng0@cryptolab.net skribis: > From: ng0 > > * 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/pytho= n3.5/site-packages/nyx /gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/dist= utils/dist.py:261: UserWarning: Unknown distribution option: 'install_requi= res' 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? Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline 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+)))) --=-=-=--