From d0313cdf5f2288a8884b8550d1381627df209aa6 Mon Sep 17 00:00:00 2001 From: Wiktor Żelazny Date: Wed, 13 Oct 2021 19:01:13 +0200 Subject: gnu: Add renameutils. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/shellutils.scm (renameutils): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/shellutils.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index 6e64cee1da..19effc34cc 100644 --- a/gnu/packages/shellutils.scm +++ b/gnu/packages/shellutils.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2021 Alexandr Vityazev ;;; Copyright © 2021 Xinglu Chen ;;; Copyright © 2021 Foo Chuan Wei +;;; Copyright © 2021 Wiktor Żelazny ;;; ;;; This file is part of GNU Guix. ;;; @@ -512,3 +513,32 @@ (define-public rig site/BBS/person you are giving the information to tries to cross-check the city, state, zip, or area code, it will check out.") (license license:gpl2+))) + +(define-public renameutils + (package + (name "renameutils") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri + (string-append "https://download.savannah.gnu.org/releases/renameutils/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "18xlkr56jdyajjihcmfqlyyanzyiqqlzbhrm6695mkvw081g1lnb")) + (modules '((guix build utils))) + (snippet '(begin + (substitute* "src/Makefile.in" + (("\\(\\$bindir\\)") "$(bindir)")) + #t)))) + (build-system gnu-build-system) + (inputs + `(("readline" ,readline))) + (home-page "https://www.nongnu.org/renameutils/") + (synopsis "File renaming utilities") + (description "The file renaming utilities (renameutils for short) are a set +of programs designed to make renaming of files faster and less cumbersome. The +file renaming utilities consists of five programs - qmv, qcp, imv, icp and +deurlname.") + (license license:gpl3))) -- cgit v1.2.3