From patchwork Mon Apr 15 20:25:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "ashish.is--- via Guix-patches\" via" X-Patchwork-Id: 63077 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 1DADD27BBEB; Mon, 15 Apr 2024 21:27:21 +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_INVALID, DKIM_SIGNED,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 68ECB27BBE9 for ; Mon, 15 Apr 2024 21:27:20 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rwSv2-0005bP-Hx; Mon, 15 Apr 2024 16:27:12 -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 1rwSui-0005Xb-UV for guix-patches@gnu.org; Mon, 15 Apr 2024 16:26:57 -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 1rwSui-0001vX-8Y for guix-patches@gnu.org; Mon, 15 Apr 2024 16:26:52 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rwSut-0005fu-NF for guix-patches@gnu.org; Mon, 15 Apr 2024 16:27:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70407] [PATCH] gnu: Add fnc Resent-From: ashish.is@lostca.se Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Apr 2024 20:27:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70407 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70407@debbugs.gnu.org Cc: Ashish SHUKLA X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171321278721448 (code B ref -1); Mon, 15 Apr 2024 20:27:03 +0000 Received: (at submit) by debbugs.gnu.org; 15 Apr 2024 20:26:27 +0000 Received: from localhost ([127.0.0.1]:39417 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rwSuH-0005Zh-RG for submit@debbugs.gnu.org; Mon, 15 Apr 2024 16:26:26 -0400 Received: from lists.gnu.org ([2001:470:142::17]:44754) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rwSuC-0005Yj-Vi for submit@debbugs.gnu.org; Mon, 15 Apr 2024 16:26:24 -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 1rwStq-0005IJ-Pi for guix-patches@gnu.org; Mon, 15 Apr 2024 16:25:58 -0400 Received: from anamika.lostca.se ([65.21.75.227]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rwStm-0001qy-SK for guix-patches@gnu.org; Mon, 15 Apr 2024 16:25:56 -0400 Received: from localhost.localdomain (poincare.inet6.in [IPv6:2a0a:4cc0:1:12d4::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: abbe) by anamika.lostca.se (Postfix) with ESMTPSA id 0FDA784A; Mon, 15 Apr 2024 20:25:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lostca.se; s=anamika; t=1713212752; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=p9UynI7zEw9nbDjgvVx051u9YHkPuLH96Og5q9P6BoE=; b=mxW/mnY0PY2fzQnLabAmleOVPjAX475X+IoCrL0hFdicdiXcsvrzmi7iD4FTLi3aHhUjrb bh2kp/Vug07nRYknt+B9DRopB5QImBB1soY/UxNe9dAQw7heWrkUCHgzWj5t19fXIVal63 RcA/juoOmGG/0oMzbQ7MdDqEFVH5DMY= Date: Mon, 15 Apr 2024 20:25:12 +0000 Message-ID: <57b18e1298ae636df0fa11968978adcf227a0cab.1713212712.git.ashish.is@lostca.se> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=65.21.75.227; envelope-from=ashish.is@lostca.se; helo=anamika.lostca.se 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: , Reply-to: ashish.is@lostca.se X-ACL-Warn: , "ashish.is--- via Guix-patches" X-Patchwork-Original-From: "ashish.is--- via Guix-patches" via From: "ashish.is--- via Guix-patches\" via" 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 From: Ashish SHUKLA * gnu/packages/version-control.scm (fnc): New variable. Change-Id: Idf1cb254c3ae18bacb86bf020511a5d34e2d3684 Signed-off-by: Ashish SHUKLA --- gnu/packages/version-control.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) base-commit: a8353e9d6b34fd8d42d2e8f14ce844849fe9c293 diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 96ca1df552..33607940ec 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -4145,3 +4145,28 @@ (define-public git-sizer (description "Compute various size metrics for a Git repository, flagging those that might cause problems or inconvenience.") (license license:expat))) + +(define-public fnc + (package + (name "fnc") + (version "0.16") + (source (origin + (method url-fetch) + (uri + (string-append "https://fnc.bsdbox.org/uv/dl/fnc-" version ".tar.gz")) + (sha256 + (base32 + "1npnbdz5i4p61ri76vx6awggbc0q19y8b26l3sy4wxmaxkly7gwy")))) + (build-system gnu-build-system) + (arguments + '(#:phases (modify-phases %standard-phases + (delete 'configure)) + #:tests? #f + #:make-flags (list "CC=gcc" + (string-append "PREFIX=" (assoc-ref %outputs "out"))))) + (inputs (list ncurses zlib sqlite-next)) + (home-page "https://fnc.bsdbox.org") + (synopsis "Interactive text-based user interface for Fossil") + (description "fnc uses ncurses and libfossil to create a fossil ui experience in +the terminal, and parse local changes at the hunk level to prepare atomic commits.") + (license license:isc)))