From a45b2c7c63c6af9c42698e12b6809c41c0926de3 Mon Sep 17 00:00:00 2001 From: Ashish SHUKLA Date: Mon, 15 Apr 2024 20:25:12 +0000 Subject: gnu: Add fnc. * gnu/packages/version-control.scm (fnc): New variable. Change-Id: Idf1cb254c3ae18bacb86bf020511a5d34e2d3684 Signed-off-by: Christopher Baines --- gnu/packages/version-control.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 96ca1df552..55fa49e632 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -2839,6 +2839,34 @@ (define-public findnewest modification time.") (license license:bsd-2))) +(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 + (list + #:phases #~(modify-phases %standard-phases + (delete 'configure)) + #:tests? #f ; no tests + #:make-flags #~(list (string-append "CC=" #$(cc-for-target)) + (string-append "PREFIX=" #$output)))) + (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 user +interface in the terminal. It can view local changes at the hunk level to +prepare atomic commits.") + (license license:isc))) + (define-public myrepos (package (name "myrepos") -- cgit v1.2.3