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(+) (limited to 'gnu/packages/shellutils.scm') 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 @@ real person, and are too lazy to think of one yourself. Also, if the Web 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 From 2bb0d8bf0c51de73b7573982003ca8441e02af6d Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 14 Nov 2021 00:29:10 +0100 Subject: gnu: renameutils: Fix license and tweak. * gnu/packages/shellutils.scm (renameutils)[source]: Use mirror:// URL. [license]: Change to GPL3+. [description]: Use @command markup. --- gnu/packages/shellutils.scm | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'gnu/packages/shellutils.scm') diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index 19effc34cc..70443f5019 100644 --- a/gnu/packages/shellutils.scm +++ b/gnu/packages/shellutils.scm @@ -521,9 +521,8 @@ city, state, zip, or area code, it will check out.") (source (origin (method url-fetch) - (uri - (string-append "https://download.savannah.gnu.org/releases/renameutils/" - name "-" version ".tar.gz")) + (uri (string-append "mirror://savannah/renameutils/" + "renameutils-" version ".tar.gz")) (sha256 (base32 "18xlkr56jdyajjihcmfqlyyanzyiqqlzbhrm6695mkvw081g1lnb")) @@ -537,8 +536,8 @@ city, state, zip, or area code, it will check out.") `(("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))) + (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: @command{qmv}, +@command{qcp}, @command{imv}, @command{icp}, and @command{deurlname}.") + (license license:gpl3+))) -- cgit v1.2.3