unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#39355: [PATCH] gnu: Add lf.
@ 2020-01-30 11:28 Pkill -9
  2020-02-02 21:19 ` Leo Famulari
  0 siblings, 1 reply; 2+ messages in thread
From: Pkill -9 @ 2020-01-30 11:28 UTC (permalink / raw)
  To: 39355; +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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#39355: [PATCH] gnu: Add lf.
  2020-01-30 11:28 bug#39355: [PATCH] gnu: Add lf Pkill -9
@ 2020-02-02 21:19 ` Leo Famulari
  0 siblings, 0 replies; 2+ messages in thread
From: Leo Famulari @ 2020-02-02 21:19 UTC (permalink / raw)
  To: Pkill -9; +Cc: 39355-done

[-- Attachment #1: Type: text/plain, Size: 2604 bytes --]

On Thu, Jan 30, 2020 at 11:28:16AM +0000, Pkill -9 wrote:
> * gnu/packages/disk.scm (lf): New variable.

Thanks! I removed the superfluous #:unpack-path and pushed as
d441a6455051d70d7ff0d951c7e68318499b1739

> ---
>  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
> 
> 
> 
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-02 21:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-30 11:28 bug#39355: [PATCH] gnu: Add lf Pkill -9
2020-02-02 21:19 ` Leo Famulari

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).