From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38846) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fB80b-0000cF-Ei for guix-patches@gnu.org; Tue, 24 Apr 2018 20:10:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fB80Y-0004Li-Nm for guix-patches@gnu.org; Tue, 24 Apr 2018 20:10:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:58898) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fB80Y-0004LB-L9 for guix-patches@gnu.org; Tue, 24 Apr 2018 20:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fB80Y-0006V1-Fl for guix-patches@gnu.org; Tue, 24 Apr 2018 20:10:02 -0400 Subject: [bug#31252] [PATCH] gnu: Add Ranger. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38668) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fB7zp-0000ZQ-NG for guix-patches@gnu.org; Tue, 24 Apr 2018 20:09:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fB7zn-00044r-1g for guix-patches@gnu.org; Tue, 24 Apr 2018 20:09:17 -0400 Received: from mail.onyx.syn-alias.com ([206.152.134.66]:58116 helo=smtp.centurylink.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fB7zm-00044d-RQ for guix-patches@gnu.org; Tue, 24 Apr 2018 20:09:14 -0400 Date: Tue, 24 Apr 2018 20:09:13 -0400 (EDT) From: Eric Bavier Message-ID: <1758300649.33991901.1524614953172.JavaMail.zimbra@centurylink.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 31252@debbugs.gnu.org Hello Guix, I think this package works, but I'm not much of a ranger user, so if someone would like to give it a test, that would be appreciated. Also, suggestions for a better module location are appreciated. :) --=20 `~Eric >From 03abb95c7e551ea45d0742bf72cb78e5f0ce210e Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Tue, 24 Apr 2018 18:44:38 -0500 Subject: [PATCH] gnu: Add Ranger. To: guix-patches@gnu.org From: Eric Bavier * gnu/packages/disk.scm (ranger): New variable. --- gnu/packages/disk.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm index 595000bf8..a36273a01 100644 --- a/gnu/packages/disk.scm +++ b/gnu/packages/disk.scm @@ -10,6 +10,7 @@ ;;; Copyright =C2=A9 2017 Hartmut Goebel ;;; Copyright =C2=A9 2017 Stefan Reich=C3=B6r ;;; Copyright =C2=A9 2018 Vasile Dumitrascu +;;; Copyright =C2=A9 2018 Eric Bavier ;;; ;;; This file is part of GNU Guix. ;;; @@ -35,6 +36,7 @@ #:use-module (guix build-system python) #:use-module (gnu packages) #:use-module (gnu packages base) + #:use-module (gnu packages check) #:use-module (gnu packages databases) #:use-module (gnu packages docbook) #:use-module (gnu packages gettext) @@ -502,3 +504,32 @@ your data as it changes, without having to re-checksum unchanged data.=20 Duperemove can also take input from the @command{fdupes} program.") (license license:gpl2))) + +(define-public ranger + (package + (name "ranger") + (version "1.9.1") + (source (origin + (method url-fetch) + (uri (string-append "https://ranger.github.io/" + "ranger-" version ".tar.gz")) + (sha256 + (base32 + "1lnzkrxcnlwnyi3z0v8ybyp8d5rm26qm35rr68kbs2lbs06inha0")))) + (build-system python-build-system) + (native-inputs ;for tests + `(("python-pytest" ,python-pytest) + ("python-pylint" ,python-pylint) + ("python-flake8" ,python-flake8) + ("which" ,which))) + (arguments + '(#:phases (modify-phases %standard-phases + (replace 'check + (lambda _ (invoke "make" "test")))))) + (home-page "https://ranger.github.io/") + (synopsis "Console file manager") + (description "@code{ranger} is a console file manager with VI key +bindings. It provides a minimalistic and nice curses interface with a view on +the directory hierarchy. It ships with @code{rifle}, a file launcher that is +good at automatically finding out which program to use for what file type.") + (license license:gpl3))) --=20 2.17.0