From patchwork Sat Oct 21 09:02:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Rodion Goritskov X-Patchwork-Id: 55110 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 8F7C627BBEA; Sat, 21 Oct 2023 14:48:25 +0100 (BST) 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_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 9E59E27BBE2 for ; Sat, 21 Oct 2023 14:48:21 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1quCKs-0002sn-9y; Sat, 21 Oct 2023 09:48:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1quCKI-0002eO-JK for guix-patches@gnu.org; Sat, 21 Oct 2023 09:47:39 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1quCKE-0008Ux-2C for guix-patches@gnu.org; Sat, 21 Oct 2023 09:47:37 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1quCKf-000105-QO for guix-patches@gnu.org; Sat, 21 Oct 2023 09:48:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66665] [PATCH] gnu: Add clifm. Resent-From: Rodion Goritskov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 21 Oct 2023 13:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66665 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66665@debbugs.gnu.org Cc: Rodion Goritskov X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16978960463523 (code B ref -1); Sat, 21 Oct 2023 13:48:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Oct 2023 13:47:26 +0000 Received: from localhost ([127.0.0.1]:42596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quCK5-0000uh-1T for submit@debbugs.gnu.org; Sat, 21 Oct 2023 09:47:26 -0400 Received: from lists.gnu.org ([2001:470:142::17]:42138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qu7tM-0003bg-4E for submit@debbugs.gnu.org; Sat, 21 Oct 2023 05:03:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qu7so-0008Qq-Qz for guix-patches@gnu.org; Sat, 21 Oct 2023 05:02:58 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qu7sn-0004ft-3X for guix-patches@gnu.org; Sat, 21 Oct 2023 05:02:58 -0400 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-4083f613272so13388345e9.1 for ; Sat, 21 Oct 2023 02:02:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697878975; x=1698483775; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=4dmBX/5AKtOzDOIq4hympLtMkDNUtiUd6N+EFb+S8fo=; b=hbosqbnr3OsJJD0fKWE2FYXm7Fx7L4U0X7JHCrkNiei5FWWxEMS3hbhUE46sfhroI+ 19F6dD2WLv9/ntbtrGjQ65xTcN/Yw7w4gbNv8foWTRfFRFOXdfWYMe1QX8F1zCD3MTRW 8e0vHh/Zs0U9SkiwaislEMPIc7wZnbMtJFIdvjzCgfGafmIQ1kC3jqFnUdsPHbj6RRqB LmVLbR8lSQDx7GG1sPxkoEmj9trsP2sxxduqWaJvOPFq05Qp1a2VFnhdwWoZ8npqX7SQ S047BINlsuN0rV5PHgH/oDWkpmsxMsArNZgygjMHpoFFStYJ49Kg3uMr7FD/atKBX0Lk hMMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697878975; x=1698483775; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4dmBX/5AKtOzDOIq4hympLtMkDNUtiUd6N+EFb+S8fo=; b=n5MvjFtluVM3N8x9tkn582QDif7oDn8goFSmPwfgfLF/zObzUNoMNXxlhS/10kWBOz D20PIPGlk/Pqmfap6YDIDBj4Lpn2ZZucahoZjXAWA6XHlgbgss2bmwiAbK5brsy00JBy L5jMK9HPBTXebsifIyHToMyHBcyZT+Z6ONnoX4z74TO57E5KLLlU8I3XeShfNYmAO4ER 4ZeXuFyZy1Ow4tL5HjW30amqR5/e9AWy8yxv9t4gX0hAIKtwAqrB8ha25zzFvmOMvy5j 3D7+hqEri4Aj+6nG2/HoLJ+DHDWVH+x4/7Wpl7PknqZbNZk+tzerb7diEFQD8YLCvEwH TzIw== X-Gm-Message-State: AOJu0Yx7lmrjf6gDTnEmAZQRaICv3DTbAxjLK/ht4mPRWoy/KZVRYB9F lw+w5T4LAw9TQaJf1k7gxe6thdR2kG+1Tg== X-Google-Smtp-Source: AGHT+IG3sm7VE+3AEapsubOOIIejy7tCpqa0CpzZCtxp6Lf0THgTnpBGXnmQPA60UHtpzArVhLKr2A== X-Received: by 2002:a05:600c:188a:b0:406:7021:7d8 with SMTP id x10-20020a05600c188a00b00406702107d8mr3099059wmp.20.1697878974674; Sat, 21 Oct 2023 02:02:54 -0700 (PDT) Received: from localhost.localdomain ([92.51.75.166]) by smtp.gmail.com with ESMTPSA id j15-20020a05600c1c0f00b003fefb94ccc9sm4071012wms.11.2023.10.21.02.02.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Oct 2023 02:02:54 -0700 (PDT) From: Rodion Goritskov Date: Sat, 21 Oct 2023 13:02:12 +0400 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=rodion.goritskov@gmail.com; helo=mail-wm1-x329.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 21 Oct 2023 09:47:24 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sat, 21 Oct 2023 09:48:13 -0400 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/clifm.scm (clifm): New variable --- gnu/packages/clifm.scm | 58 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 gnu/packages/clifm.scm base-commit: 8d6b3dd0b863ccada887da8cd347727dd04cb456 diff --git a/gnu/packages/clifm.scm b/gnu/packages/clifm.scm new file mode 100644 index 0000000000..b312ab7046 --- /dev/null +++ b/gnu/packages/clifm.scm @@ -0,0 +1,58 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2023 Rodion Goritskov +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages clifm) + #:use-module (guix packages) + #:use-module (guix gexp) + #:use-module (guix utils) + #:use-module (guix git-download) + #:use-module (guix build-system gnu) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (gnu packages readline) + #:use-module (gnu packages acl) + #:use-module (gnu packages linux)) + +(define-public clifm + (package + (name "clifm") + (version "1.14.6") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/leo-arch/clifm") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "15qrgj4kzxkc4lp3rpqvyk9ilc4nckrpiskg7y7p6bqr23n8chyh")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags (list (string-append "CC=" + ,(cc-for-target)) + (string-append "PREFIX=" + (assoc-ref %outputs "out"))) + #:phases (modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (delete 'check)))) + (inputs (list readline acl libcap)) + (home-page "https://github.com/leo-arch/clifm") + (synopsis "Command line file manager") + (description "Shell-like, text-based terminal file +manager that sits on the command line.") + (license license:gpl2)))