emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#51476: closed ([PATCH] gnu: Add ascii)


From: GNU bug Tracking System
Subject: bug#51476: closed ([PATCH] gnu: Add ascii)
Date: Sat, 11 Dec 2021 22:34:02 +0000

Your message dated Sat, 11 Dec 2021 23:33:28 +0100
with message-id <87bl1m6abr.fsf_-_@gnu.org>
and subject line Re: bug#51476: [PATCH] gnu: Add ascii
has caused the debbugs.gnu.org bug report #51476,
regarding [PATCH] gnu: Add ascii
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
51476: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=51476
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: Add ascii Date: Fri, 29 Oct 2021 08:05:02 +0000
* gnu/packages/shellutils.scm (ascii): New variable.
---
 gnu/packages/shellutils.scm | 39 +++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index 3ded0ee897..3fd9799cbf 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -12,6 +12,7 @@
 ;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
 ;;; Copyright © 2021 Alexandr Vityazev <avityazev@posteo.org>
 ;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
+;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo@hotmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -37,6 +38,7 @@
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system go)
   #:use-module (guix build-system python)
+  #:use-module (gnu packages)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages base)
   #:use-module (gnu packages bison)
@@ -53,6 +55,43 @@
   #:use-module (gnu packages tmux)
   #:use-module (gnu packages vim))
 
+(define-public ascii
+  (package
+    (name "ascii")
+    (version "3.18")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://www.catb.org/~esr/ascii/";
+                                  "ascii-" version ".tar.gz"))
+              (sha256
+                (base32
+                  "0b87vy06s8s3a8q70pqavsbk4m4ff034sdml2xxa6qfsykaj513j"))))
+    (build-system gnu-build-system)
+    (arguments `(#:make-flags
+                 (list (string-append "CC=" ,(cc-for-target))
+                       (string-append "PREFIX=" %output))
+                 #:phases
+                 (modify-phases %standard-phases
+                   (delete 'configure)
+                   (add-before 'install 'create-bin-directory
+                     (lambda* (#:key outputs #:allow-other-keys)
+                       (let* ((out (assoc-ref outputs "out"))
+                              (bin (string-append out "/bin"))
+                              (man1 (string-append out "/share/man/man1")))
+                         (mkdir-p bin)
+                         (mkdir-p man1)))))
+                 #:tests? #f))
+    (home-page "http://www.catb.org/~esr/ascii/";)
+    (synopsis "List ASCII idiomatic names and octal/decimal code-point forms")
+    (description
+      "Provides easy conversion between various byte representations and the
+American Standard Code for Information Interchange (ASCII) character table. It
+knows about a wide variety of hex, binary, octal, Teletype mnemonic, ISO/ECMA
+code point, slang names, XML entity names, and other representations. Given any
+one on the command line, it will try to display all others. Called with no
+arguments it displays a handy small ASCII chart.")
+    (license license:bsd-2)))
+
 (define-public boxes
   (package
     (name "boxes")

base-commit: ad39268cdf075f4c4eeb87ed78ce46ca6f817675
-- 
2.25.1




--- End Message ---
--- Begin Message --- Subject: Re: bug#51476: [PATCH] gnu: Add ascii Date: Sat, 11 Dec 2021 23:33:28 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Hi,

Foo Chuan Wei <chuanwei.foo@hotmail.com> skribis:

> * gnu/packages/shellutils.scm (ascii): New variable.

Finally applied…

> +++ b/gnu/packages/shellutils.scm
> @@ -38,6 +38,7 @@
>    #:use-module (guix build-system gnu)
>    #:use-module (guix build-system go)
>    #:use-module (guix build-system python)
> +  #:use-module (gnu packages)

… minus this line.

Thanks!

Ludo’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]