From patchwork Mon Jan 3 23:41:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Disseminate Dissent X-Patchwork-Id: 35930 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 48D1927BBEA; Mon, 3 Jan 2022 23:42:12 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D12DA27BBE9 for ; Mon, 3 Jan 2022 23:42:11 +0000 (GMT) Received: from localhost ([::1]:40718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4Wxv-0006zr-2O for patchwork@mira.cbaines.net; Mon, 03 Jan 2022 18:42:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57046) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4Wxm-0006zT-8c for guix-patches@gnu.org; Mon, 03 Jan 2022 18:42:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53210) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4Wxl-00089B-W5 for guix-patches@gnu.org; Mon, 03 Jan 2022 18:42:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n4Wxl-0003qt-V2 for guix-patches@gnu.org; Mon, 03 Jan 2022 18:42:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52992] [PATCH] gnu: Add fff. Resent-From: Disseminate Dissent Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 03 Jan 2022 23:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52992 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52992@debbugs.gnu.org X-Debbugs-Original-To: Guix Patches Received: via spool by submit@debbugs.gnu.org id=B.164125328014749 (code B ref -1); Mon, 03 Jan 2022 23:42:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 Jan 2022 23:41:20 +0000 Received: from localhost ([127.0.0.1]:36523 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4Wx5-0003po-WB for submit@debbugs.gnu.org; Mon, 03 Jan 2022 18:41:20 -0500 Received: from lists.gnu.org ([209.51.188.17]:42310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4Wx1-0003pb-BM for submit@debbugs.gnu.org; Mon, 03 Jan 2022 18:41:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4Wx1-0006tj-4t for guix-patches@gnu.org; Mon, 03 Jan 2022 18:41:15 -0500 Received: from mail-40132.protonmail.ch ([185.70.40.132]:21195) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4Wwz-000845-DU for guix-patches@gnu.org; Mon, 03 Jan 2022 18:41:14 -0500 Date: Mon, 03 Jan 2022 23:41:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail2; t=1641253270; bh=0+AaA190DxccUtIleP56Vz9hk7WEmBkM7ZyKLUSvXkI=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc; b=bu7tHEF77NFhbBKuIlq8sgvvN7H/krsAzeUO/RnqKxEST6ZjHwJONxBUziGrEmQOB UohU8p1KoJIyYgznLrpuhzSa77W0ohdq1YrGPFsPhX+o3Y02vN+0p4X95k8/dAFwmQ j3qUB/xkNEvR3GO8Z7ryloQb1Sx9d9nOZHiPm6EmqdkpOl1AQzmH3SEnToJrCZSUzy WnGdBHcLob2RpTUopKOfLVRu6CErx2+2KZytq88ta5b3bKoUBE2QKkh49YP40hhOHw SzjY8d5Jnr3UBrQiWqsbY0u8xGO7nkMuhI3OUNhceckZ5uuBFQy2q5j7dIAN48oIkQ mF1z9xDTfgCKg== Message-ID: <-X2z07KXjc89x192B7wGz4x2HT22XQ9qQr7kH5bPFAJDrxkbYGKpzVsNmQwXQP-DJ9eqVaXsZwGhk5Ktwfa_KeU_NDMyiT_2gwALU5ztkRE=@protonmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.40.132; envelope-from=disseminatedissent@protonmail.com; helo=mail-40132.protonmail.ch X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Disseminate Dissent X-ACL-Warn: , Disseminate Dissent via Guix-patches X-Patchwork-Original-From: Disseminate Dissent via Guix-patches via From: Disseminate Dissent X-getmail-retrieved-from-mailbox: Patches Disseminate, Peace From 749734fc412def963e590241e85428ed18c516a6 Mon Sep 17 00:00:00 2001 From: paladhammika 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 ;;; Copyright © 2021 Brice Waegeneire ;;; Copyright © 2021 Justin Veilleux +;;; Copyright © 2022 Disseminate Dissent ;;; ;;; 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