all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Disseminate Dissent via Guix-patches via <guix-patches@gnu.org>
To: 52992@debbugs.gnu.org
Subject: [bug#52992] [PATCH] gnu: Add fff.
Date: Mon, 03 Jan 2022 23:41:10 +0000	[thread overview]
Message-ID: <-X2z07KXjc89x192B7wGz4x2HT22XQ9qQr7kH5bPFAJDrxkbYGKpzVsNmQwXQP-DJ9eqVaXsZwGhk5Ktwfa_KeU_NDMyiT_2gwALU5ztkRE=@protonmail.com> (raw)

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



Disseminate,
Peace

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-fff.patch --]
[-- Type: text/x-patch; name=0001-gnu-Add-fff.patch, Size: 2703 bytes --]

From 749734fc412def963e590241e85428ed18c516a6 Mon Sep 17 00:00:00 2001
From: paladhammika <paladhammika@protonmail.com>
Date: Mon, 3 Jan 2022 18:37:55 -0500
Subject: [PATCH] gnu: Add fff.

---
 gnu/packages/disk.scm | 47 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index ac8b561e79..1ebc629da7 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -22,6 +22,7 @@
 ;;; Copyright © 2021 Mathieu Othacehe <othacehe@gnu.org>
 ;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
 ;;; Copyright © 2021 Justin Veilleux <terramorpha@cock.li>
+;;; Copyright © 2022 Disseminate Dissent <disseminatedissent@protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -770,6 +771,52 @@ (define-public ranger
 automatically finding out which program to use for what file type.")
     (license license:gpl3)))
 
+(define-public fff
+  (package
+   (name "fff")
+   (version "2.2")
+   (source (origin
+            (method git-fetch)
+            (uri (git-reference
+                  (url "https://github.com/dylanaraps/fff")
+                  (commit version)))
+            (file-name (git-file-name name version))
+            (sha256
+             (base32
+              "14ymdw6l6phnil0xf1frd5kgznaiwppcic0v4hb61s1zpf4wrshg"))))
+   (build-system gnu-build-system)
+   (inputs
+    `(("bash" ,bash)
+      ("coreutils" ,coreutils)
+      ("file" ,file)))
+   ;; ("xdg-utils" ,xdg-utils)))
+   (native-inputs
+    `(("pkg-config" ,pkg-config)))
+   (arguments
+    `(#:tests? #f                      ; no tests
+      #:make-flags
+      (list
+       (string-append "PREFIX="
+                      (assoc-ref %outputs "out"))
+       (string-append "CC=" ,(cc-for-target))
+       (string-append "PKG_CONFIG=" ,(pkg-config-for-target)))
+      #:phases
+      (modify-phases %standard-phases
+        (add-after 'unpack 'refer-to-inputs
+          (lambda* (#:key inputs #:allow-other-keys)
+            (let ((file (assoc-ref inputs "file")))
+              (substitute* "fff"
+                (("\\bfile [-\"]" match)
+                 (string-append file "/bin/" match))))))
+        (delete 'configure))))          ; no configure script
+   (home-page "https://github.com/dylanaraps/fff")
+   (synopsis "Simple file manager written in bash")
+   (description
+    "@command{fff} (fast file-manager) is a simple, blazing fast and minimal
+file manager for Linux, written in bash.  It only requires bash and coreutils,
+and its highly optimized now for efficient performance.")
+   (license license:expat)))
+
 (define-public volume-key
   (package
     (name "volume-key")
-- 
2.34.0


             reply	other threads:[~2022-01-03 23:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-03 23:41 Disseminate Dissent via Guix-patches via [this message]
2022-11-22  9:36 ` bug#52992: [PATCH] gnu: Add fff Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='-X2z07KXjc89x192B7wGz4x2HT22XQ9qQr7kH5bPFAJDrxkbYGKpzVsNmQwXQP-DJ9eqVaXsZwGhk5Ktwfa_KeU_NDMyiT_2gwALU5ztkRE=@protonmail.com' \
    --to=guix-patches@gnu.org \
    --cc=52992@debbugs.gnu.org \
    --cc=disseminatedissent@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.