summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorStefan Reichör <stefan@xsteve.at>2021-03-04 21:58:28 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-03-05 17:23:18 +0100
commite693927a747e36a8c7bef042f7be92f15304cc8b (patch)
tree7445a8e7d5b87005a619c130919cb48ef3ef1c5b /gnu
parent697a4c464d4911ba5f32352db863aba1a64d562b (diff)
downloadguix-e693927a747e36a8c7bef042f7be92f15304cc8b.tar.gz
gnu: Add lr.
* gnu/packages/admin.scm (lr): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/admin.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index c24e8d1fa7..b0fee13907 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -2130,6 +2130,33 @@ environment variable is set and output is to tty.")
     (home-page "http://mama.indstate.edu/users/ice/tree/")
     (license license:gpl2+)))
 
+(define-public lr
+  (package
+    (name "lr")
+    (version "1.5.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://git.vuxu.org/lr/")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1wv2acm4r5y5gg6f64v2hiwpg1f3lnr4fy1a9zssw77fmdc7ys3j"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f
+       #:make-flags (list (string-append "CC=" ,(cc-for-target))
+                          (string-append "PREFIX=" %output))
+       #:phases (modify-phases %standard-phases
+                  (delete 'configure))))
+    (synopsis "Tool to generate customized file listings")
+    (description
+     "lr is a tool for generating file listings, which includes the best
+features of ls(1), find(1), stat(1) and du(1).")
+    (home-page "https://git.vuxu.org/lr/about")
+    (license license:expat)))
+
 (define-public direvent
   (package
     (name "direvent")