From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pkill -9 Subject: bug#39355: [PATCH] gnu: Add lf. Date: Thu, 30 Jan 2020 11:28:16 +0000 Message-ID: <20200130112816.10589-1-pkill9@runbox.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:60493) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ix81M-0003Iv-NI for bug-guix@gnu.org; Thu, 30 Jan 2020 06:30:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ix81L-00004r-Dc for bug-guix@gnu.org; Thu, 30 Jan 2020 06:30:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57228) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ix81L-0008Uu-A0 for bug-guix@gnu.org; Thu, 30 Jan 2020 06:30:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ix81L-0007qQ-3F for bug-guix@gnu.org; Thu, 30 Jan 2020 06:30:03 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:60157) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ix80o-0002HE-RB for bug-guix@gnu.org; Thu, 30 Jan 2020 06:29:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ix80m-0007dn-DM for bug-guix@gnu.org; Thu, 30 Jan 2020 06:29:30 -0500 Received: from aibo.runbox.com ([91.220.196.211]:42908) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ix80l-0007Yc-T8 for bug-guix@gnu.org; Thu, 30 Jan 2020 06:29:28 -0500 Received: from [10.9.9.202] (helo=mailfront20.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1ix80i-00015b-1I for bug-guix@gnu.org; Thu, 30 Jan 2020 12:29:24 +0100 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: 39355@debbugs.gnu.org Cc: Pkill -9 * gnu/packages/disk.scm (lf): 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 a28033c0af..dfe6dfb54a 100644 --- a/gnu/packages/disk.scm +++ b/gnu/packages/disk.scm @@ -62,11 +62,14 @@ #:use-module (gnu packages sphinx) #:use-module (gnu packages sqlite) #:use-module (gnu packages swig) + #:use-module (gnu packages terminals) + #:use-module (gnu packages textutils) #:use-module (gnu packages vim) #:use-module (gnu packages w3m) #:use-module (gnu packages web) #:use-module (gnu packages xml) #:use-module (guix build-system gnu) + #:use-module (guix build-system go) #:use-module (guix build-system python) #:use-module (guix build-system trivial) #:use-module (guix build-system scons) @@ -822,3 +825,31 @@ on your file system and offers to remove it. @command{rmlint} can find: @item files with broken user and/or group ID. @end itemize\n") (license license:gpl3+))) + +(define-public lf + (package + (name "lf") + (version "13") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/gokcehan/lf.git") + (commit (string-append "r" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1ld3q75v8rvp169w5p85z1vznqs9bhck6bm2f6fykxx16hmpb6ga")))) + (build-system go-build-system) + (native-inputs + `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth) + ("go-github.com-nsf-termbox-go" ,go-github.com-nsf-termbox-go))) + (arguments + `(#:unpack-path "github.com/gokcehan/lf" + #:import-path "github.com/gokcehan/lf")) + (home-page "https://github.com/gokcehan/lf") + (synopsis "Console file browser similar to Ranger") + (description "lf (as in \"list files\") is a terminal file manager +written in Go. It is heavily inspired by ranger with some missing and +extra features. Some of the missing features are deliberately omitted +since they are better handled by external tools.") + (license license:expat))) -- 2.25.0