diff options
author | Gabriel Arazas <foo.dogsquared@gmail.com> | 2020-09-25 01:53:38 +0800 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-09-29 09:43:56 +0300 |
commit | d556028f5bdbb164ebc4bbcffc9ab164daa8e313 (patch) | |
tree | 49e7aa63564a7715ffe083a0371afa5b7212257a | |
parent | a3911b4e6ca697bcbfa226981c1627b3ee50404d (diff) | |
download | guix-d556028f5bdbb164ebc4bbcffc9ab164daa8e313.tar.gz |
gnu: Add rust-stfu8-0.2.
* gnu/packages/crates-io.scm (rust-stfu8-0.2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8be663deb6..7cb2fd40cb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -25207,6 +25207,37 @@ 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") |