unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Gabriel Arazas <foo.dogsquared@gmail.com>
To: 43514@debbugs.gnu.org
Cc: Gabriel Arazas <foo.dogsquared@gmail.com>
Subject: [bug#43514] [PATCH 6/6] gnu: Add rust-stfu8.
Date: Fri, 25 Sep 2020 01:53:38 +0800	[thread overview]
Message-ID: <20200924175338.17324-7-foo.dogsquared@gmail.com> (raw)
In-Reply-To: <20200924175338.17324-1-foo.dogsquared@gmail.com>

* gnu/packages/crates-io.scm (rust-stfu8-0.2): New variable.
---
 gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 77a5bc51d0..304b37e4df 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25127,6 +25127,38 @@ crate.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-stfu8-0.2
+  (package
+    (name "rust-stfu8")
+    (version "0.2.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "stfu8" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0xyv4axwc9rihg3f5fjdy7s0ahnz1iq6lq06blwkq2ihwcrh9xsb"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-regex" ,rust-regex-0.2))
+       #:cargo-development-inputs
+       (("rust-pretty-assertions"
+         ,rust-pretty-assertions-0.4)
+        ("rust-proptest" ,rust-proptest-0.3))))
+    (home-page "https://github.com/vitiral/stfu8")
+    (synopsis "Sorta Text Format in UTF-8")
+    (description
+     "STFU-8 is a hacky text encoding/decoding protocol for files that
+partially uses UTF-8.  Its primary purpose is to allow a human to visualize and
+edit data that is mostly UTF-8.  It will encode all non-UTF8-compliant bytes as
+longform text (e.g., ESC becomes @code{r\x1B}) and tries to encode ill-formed
+UTF-8.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-stream-cipher-0.3
   (package
     (name "rust-stream-cipher")
-- 
2.28.0





  parent reply	other threads:[~2020-09-24 18:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-19 16:04 [bug#43514] [PATCH 1/3] gnu: Add rust-stfu8 Gabriel Arazas
2020-09-19 16:14 ` [bug#43514] [PATCH 2/3] gnu: Add rust-std-prelude Gabriel Arazas
2020-09-19 16:14   ` [bug#43514] [PATCH 3/3] gnu: Add rust-path-abs Gabriel Arazas
2020-09-19 16:29     ` Gabriel Arazas
2020-09-23  5:56 ` [bug#43514] [PATCH 1/3] gnu: Add rust-stfu8 Efraim Flashner
2020-09-24 17:53 ` [bug#43514] Gabriel Arazas
2020-09-24 17:53   ` [bug#43514] [PATCH 1/6] gnu: Add rust-bit-vec@0.4 Gabriel Arazas
2020-09-24 17:53   ` [bug#43514] [PATCH 2/6] gnu: Add rust-bit-set@0.4 Gabriel Arazas
2020-09-24 17:53   ` [bug#43514] [PATCH 3/6] gnu: Add rust-ansi-term@0.9 Gabriel Arazas
2020-09-24 17:53   ` [bug#43514] [PATCH 4/6] gnu: Add rust-pretty-assertions@0.4 Gabriel Arazas
2020-09-24 17:53   ` [bug#43514] [PATCH 5/6] gnu: Add rust-proptest@0.3 Gabriel Arazas
2020-09-24 17:53   ` Gabriel Arazas [this message]
2020-09-29  6:58   ` bug#43514: Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200924175338.17324-7-foo.dogsquared@gmail.com \
    --to=foo.dogsquared@gmail.com \
    --cc=43514@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).