unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#48065] [PATCH 02/14] gnu: Add rust-hyphenation-commons-0.8.
       [not found] <20210427161233.7381-1-873216071@qq.com>
@ 2021-04-27 16:12 ` Zheng Junjie
  2021-04-27 16:12 ` [bug#48065] [PATCH 03/14] gnu: Add rust-hyphenation-0.8 Zheng Junjie
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Zheng Junjie @ 2021-04-27 16:12 UTC (permalink / raw)
  To: 48065; +Cc: Zheng Junjie

* gnu/packages/crates-io.scm (rust-hyphenation-commons-0.8): New variable.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 02d21cec88..f9a1e1dc3a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18997,6 +18997,34 @@ with hyper.")
        #:cargo-development-inputs
        (("rust-tokio" ,rust-tokio-0.1))))))
 
+(define-public rust-hyphenation-commons-0.8
+  (package
+    (name "rust-hyphenation-commons")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "hyphenation_commons" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "089jv1pr718aq0yjfcv6x0zljw9f73jm15khdsydzfln3ci7n4hj"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build?
+       #t
+       #:cargo-inputs
+       (("rust-fst" ,rust-fst-0.4)
+        ("rust-serde" ,rust-serde-1))))
+    (home-page
+     "https://github.com/tapeinosyne/hyphenation")
+    (synopsis
+     "Proemial code for the @code{hyphenation} library")
+    (description
+     "This package provides a proemial code for the @code{hyphenation} library.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-ident-case-1
   (package
     (name "rust-ident-case")
-- 
2.31.1





^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [bug#48065] [PATCH 03/14] gnu: Add rust-hyphenation-0.8.
       [not found] <20210427161233.7381-1-873216071@qq.com>
  2021-04-27 16:12 ` [bug#48065] [PATCH 02/14] gnu: Add rust-hyphenation-commons-0.8 Zheng Junjie
@ 2021-04-27 16:12 ` Zheng Junjie
  2021-04-27 16:12 ` [bug#48065] [PATCH 04/14] gnu: Add rust-textwrap-0.12 Zheng Junjie
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Zheng Junjie @ 2021-04-27 16:12 UTC (permalink / raw)
  To: 48065; +Cc: Zheng Junjie

* gnu/packages/crates-io.scm (rust-hyphenation-0.8): New variable.
---
 gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f9a1e1dc3a..cfacbf4a54 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19025,6 +19025,46 @@ with hyper.")
      "This package provides a proemial code for the @code{hyphenation} library.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-hyphenation-0.8
+  (package
+    (name "rust-hyphenation")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "hyphenation" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "117h952d2zlpyqmy0kb49wb42rd3l5m5kl3ldfhgygv6lin09b2w"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build?
+       #t
+       #:cargo-inputs
+       (("rust-bincode" ,rust-bincode-1)
+        ("rust-bincode" ,rust-bincode-1)
+        ("rust-fst" ,rust-fst-0.4)
+        ("rust-fst" ,rust-fst-0.4)
+        ("rust-hyphenation-commons"
+         ,rust-hyphenation-commons-0.8)
+        ("rust-hyphenation-commons"
+         ,rust-hyphenation-commons-0.8)
+        ("rust-pocket-resources"
+         ,rust-pocket-resources-0.3)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-unicode-normalization"
+         ,rust-unicode-normalization-0.1))))
+    (home-page
+     "https://github.com/tapeinosyne/hyphenation")
+    (synopsis
+     "Knuth-Liang hyphenation for a variety of languages")
+    (description
+     "This package provides a Knuth-Liang hyphenation for a variety of languages.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-ident-case-1
   (package
     (name "rust-ident-case")
-- 
2.31.1





^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [bug#48065] [PATCH 04/14] gnu: Add rust-textwrap-0.12.
       [not found] <20210427161233.7381-1-873216071@qq.com>
  2021-04-27 16:12 ` [bug#48065] [PATCH 02/14] gnu: Add rust-hyphenation-commons-0.8 Zheng Junjie
  2021-04-27 16:12 ` [bug#48065] [PATCH 03/14] gnu: Add rust-hyphenation-0.8 Zheng Junjie
@ 2021-04-27 16:12 ` Zheng Junjie
  2021-04-27 16:12 ` [bug#48065] [PATCH 05/14] gnu: Add rust-os-str-bytes-2 Zheng Junjie
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Zheng Junjie @ 2021-04-27 16:12 UTC (permalink / raw)
  To: 48065; +Cc: Zheng Junjie

* gnu/packages/crates-io.scm (rust-textwrap-0.12): New variable.
(rust-textwrap-0.11): Inherit from above.
---
 gnu/packages/crates-io.scm | 56 ++++++++++++++++++++++++++------------
 1 file changed, 39 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cfacbf4a54..45c0752adf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -42267,19 +42267,49 @@ for TLS).")
 unstable language features.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-textwrap-0.12
+  (package
+    (name "rust-textwrap")
+    (version "0.12.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "textwrap" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "12978qmkl5gcp94lxndpvp9qxq8mxp7hm9xbrw3422dgikchhc10"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-hyphenation" ,rust-hyphenation-0.8)
+        ("rust-terminal-size" ,rust-terminal-size-0.1)
+        ("rust-unicode-width" ,rust-unicode-width-0.1))))
+    (home-page
+     "https://github.com/mgeisler/textwrap")
+    (synopsis "Library for word wrapping, indenting, and dedenting strings")
+    (description
+     "Textwrap is a small library for word wrapping, indenting, and dedenting
+strings.  You can use it to format strings (such as help and error messages)
+for display in commandline applications.  It is designed to be efficient and
+handle Unicode characters correctly.")
+    (license license:expat)))
+
 (define-public rust-textwrap-0.11
   (package
+    (inherit rust-textwrap-0.12)
     (name "rust-textwrap")
     (version "0.11.0")
     (source
-      (origin
-        (method url-fetch)
-        (uri (crate-uri "textwrap" version))
-        (file-name (string-append name "-" version ".tar.gz"))
-        (sha256
-         (base32
-          "0q5hky03ik3y50s9sz25r438bc4nwhqc6dqwynv4wylc807n29nk"))))
-    (build-system cargo-build-system)
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "textwrap" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0q5hky03ik3y50s9sz25r438bc4nwhqc6dqwynv4wylc807n29nk"))))
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
@@ -42290,15 +42320,7 @@ unstable language features.")
        (;("rust-lipsum" ,rust-lipsum-0.6)
         ("rust-rand" ,rust-rand-0.6)
         ("rust-rand-xorshift" ,rust-rand-xorshift-0.1)
-        ("rust-version-sync" ,rust-version-sync-0.6))))
-    (home-page "https://github.com/mgeisler/textwrap")
-    (synopsis "Library for word wrapping, indenting, and dedenting strings")
-    (description
-     "Textwrap is a small library for word wrapping, indenting, and dedenting
-strings.  You can use it to format strings (such as help and error messages)
-for display in commandline applications.  It is designed to be efficient and
-handle Unicode characters correctly.")
-    (license license:expat)))
+        ("rust-version-sync" ,rust-version-sync-0.6))))))
 
 (define-public rust-thin-slice-0.1
   (package
-- 
2.31.1





^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [bug#48065] [PATCH 05/14] gnu: Add rust-os-str-bytes-2.
       [not found] <20210427161233.7381-1-873216071@qq.com>
                   ` (2 preceding siblings ...)
  2021-04-27 16:12 ` [bug#48065] [PATCH 04/14] gnu: Add rust-textwrap-0.12 Zheng Junjie
@ 2021-04-27 16:12 ` Zheng Junjie
  2021-04-27 16:12 ` [bug#48065] [PATCH 06/14] gnu: Add rust-strsim-0.10 Zheng Junjie
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Zheng Junjie @ 2021-04-27 16:12 UTC (permalink / raw)
  To: 48065; +Cc: Zheng Junjie

* gnu/packages/crates-io.scm (rust-os-str-bytes-2): New variable.
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 45c0752adf..326cdf107d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27141,6 +27141,30 @@ under its new name.")
      "A cross-platform library for opening OS pipes.")
     (license license:expat)))
 
+(define-public rust-os-str-bytes-2
+  (package
+    (name "rust-os-str-bytes")
+    (version "2.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "os_str_bytes" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "11agh8n3x2l4sr3sxvx6byc1j3ryb1g6flb1ywn0qhq7xv1y3cmg"))))
+    (build-system cargo-build-system)
+    (arguments `(#:skip-build? #t))
+    (home-page
+     "https://github.com/dylni/os_str_bytes")
+    (synopsis
+     "Traits for converting between byte sequences and platform-native strings")
+    (description
+     "This package provides a traits for converting between byte sequences and
+platform-native strings.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-output-vt100-0.1
   (package
     (name "rust-output-vt100")
-- 
2.31.1





^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [bug#48065] [PATCH 06/14] gnu: Add rust-strsim-0.10.
       [not found] <20210427161233.7381-1-873216071@qq.com>
                   ` (3 preceding siblings ...)
  2021-04-27 16:12 ` [bug#48065] [PATCH 05/14] gnu: Add rust-os-str-bytes-2 Zheng Junjie
@ 2021-04-27 16:12 ` Zheng Junjie
  2021-04-27 16:12 ` [bug#48065] [PATCH 07/14] gnu: Add rust-clap-derive-3 Zheng Junjie
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Zheng Junjie @ 2021-04-27 16:12 UTC (permalink / raw)
  To: 48065; +Cc: Zheng Junjie

* gnu/packages/crates-io.scm (rust-strsim-0.10): New variable.
(rust-strsim-0.9): Inherit from above.
---
 gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++---------
 1 file changed, 24 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 326cdf107d..b36f7c81d6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40272,18 +40272,19 @@ and write it somewhere that does not easily support them, such as a log
 file.")
     (license (list license:asl2.0 license:expat))))
 
-(define-public rust-strsim-0.9
+(define-public rust-strsim-0.10
   (package
     (name "rust-strsim")
-    (version "0.9.3")
+    (version "0.10.0")
     (source
-      (origin
-        (method url-fetch)
-        (uri (crate-uri "strsim" version))
-        (file-name (string-append name "-" version ".crate"))
-        (sha256
-         (base32
-          "0k497pv882qn3q977ckznm13vxx927g8s1swvcv68j3c1pccwik4"))))
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "strsim" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "08s69r4rcrahwnickvi0kq49z524ci50capybln83mg6b473qivk"))))
     (build-system cargo-build-system)
     (home-page "https://github.com/dguo/strsim-rs")
     (synopsis "Rust implementations of string similarity metrics")
@@ -40292,6 +40293,20 @@ metrics.  It includes Hamming, Levenshtein, OSA, Damerau-Levenshtein, Jaro,
 and Jaro-Winkler.")
     (license license:expat)))
 
+(define-public rust-strsim-0.9
+  (package
+    (inherit rust-strsim-0.10)
+    (name "rust-strsim")
+    (version "0.9.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "strsim" version))
+       (file-name (string-append name "-" version ".crate"))
+       (sha256
+        (base32
+         "0k497pv882qn3q977ckznm13vxx927g8s1swvcv68j3c1pccwik4"))))))
+
 (define-public rust-strsim-0.8
   (package
     (inherit rust-strsim-0.9)
-- 
2.31.1





^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [bug#48065] [PATCH 07/14] gnu: Add rust-clap-derive-3.
       [not found] <20210427161233.7381-1-873216071@qq.com>
                   ` (4 preceding siblings ...)
  2021-04-27 16:12 ` [bug#48065] [PATCH 06/14] gnu: Add rust-strsim-0.10 Zheng Junjie
@ 2021-04-27 16:12 ` Zheng Junjie
  2021-04-27 16:12 ` [bug#48065] [PATCH 08/14] gnu: Add rust-clap-3 Zheng Junjie
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Zheng Junjie @ 2021-04-27 16:12 UTC (permalink / raw)
  To: 48065; +Cc: Zheng Junjie

* gnu/packages/crates-io.scm (rust-clap-derive-3): New variable.
---
 gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b36f7c81d6..69d22a4a8c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7067,6 +7067,37 @@ traits.")
         ("rust-libc" ,rust-libc-0.2)
         ("rust-libloading" ,rust-libloading-0.3))))))
 
+(define-public rust-clap-derive-3
+  (package
+    (name "rust-clap-derive")
+    (version "3.0.0-beta.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "clap_derive" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "18cn82jhcha7m0nkpi1a03jx8k7aaq5kxfcxnsqpaa8ih5dp23rp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-heck" ,rust-heck-0.3)
+        ("rust-proc-macro-error"
+         ,rust-proc-macro-error-1)
+        ("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))))
+    (home-page "https://clap.rs/")
+    (synopsis
+     "Parse command line argument by defining a struct, derive crate")
+    (description
+     "This package provides a parse command line argument by defining a struct,
+derive crate.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-clap-2
   (package
     (name "rust-clap")
-- 
2.31.1





^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [bug#48065] [PATCH 08/14] gnu: Add rust-clap-3.
       [not found] <20210427161233.7381-1-873216071@qq.com>
                   ` (5 preceding siblings ...)
  2021-04-27 16:12 ` [bug#48065] [PATCH 07/14] gnu: Add rust-clap-derive-3 Zheng Junjie
@ 2021-04-27 16:12 ` Zheng Junjie
  2021-04-27 16:12 ` [bug#48065] [PATCH 09/14] gnu: Add rust-askama-escape-0.10 Zheng Junjie
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Zheng Junjie @ 2021-04-27 16:12 UTC (permalink / raw)
  To: 48065; +Cc: Zheng Junjie

* gnu/packages/crates-io.scm (rust-clap-3): New variable.
(rust-clap-2): Inherit from above.
---
 gnu/packages/crates-io.scm | 61 ++++++++++++++++++++++++++++++--------
 1 file changed, 48 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 69d22a4a8c..9516d74549 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7098,19 +7098,59 @@ traits.")
 derive crate.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-clap-3
+  (package
+    (name "rust-clap")
+    (version "3.0.0-beta.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "clap" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0hm1kivw6190rxbfqhdr4hqwlrijvwh90i3d9dyyw0d5k0chdlab"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-atty" ,rust-atty-0.2)
+        ("rust-bitflags" ,rust-bitflags-1)
+        ("rust-clap-derive" ,rust-clap-derive-3)
+        ("rust-indexmap" ,rust-indexmap-1)
+        ("rust-os-str-bytes" ,rust-os-str-bytes-2)
+        ("rust-strsim" ,rust-strsim-0.10)
+        ("rust-termcolor" ,rust-termcolor-1)
+        ("rust-terminal-size" ,rust-terminal-size-0.1)
+        ("rust-textwrap" ,rust-textwrap-0.12)
+        ("rust-unicode-width" ,rust-unicode-width-0.1)
+        ("rust-vec-map" ,rust-vec-map-0.8)
+        ("rust-yaml-rust" ,rust-yaml-rust-0.4))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.3)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-regex" ,rust-regex-1)
+        ("rust-version-sync" ,rust-version-sync-0.8))))
+    (home-page "https://clap.rs/")
+    (synopsis "Command Line Argument Parser")
+    (description
+     "This package provides a simple to use, efficient, and full-featured
+Command Line Argument Parser.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-clap-2
   (package
+    (inherit rust-clap-3)
     (name "rust-clap")
     (version "2.33.3")
     (source
-      (origin
-        (method url-fetch)
-        (uri (crate-uri "clap" version))
-        (file-name (string-append name "-" version ".crate"))
-        (sha256
-         (base32
-          "00i065a58987k1sbzqmlz721rw521zcg08jmsh40gi3khp3qmr9p"))))
-    (build-system cargo-build-system)
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "clap" version))
+       (file-name (string-append name "-" version ".crate"))
+       (sha256
+        (base32
+         "00i065a58987k1sbzqmlz721rw521zcg08jmsh40gi3khp3qmr9p"))))
     (arguments
      `(#:cargo-inputs
        (("rust-ansi-term" ,rust-ansi-term-0.11)
@@ -7127,11 +7167,6 @@ derive crate.")
        (("rust-lazy-static" ,rust-lazy-static-1)
         ("rust-regex" ,rust-regex-1)
         ("rust-version-sync" ,rust-version-sync-0.8))))
-    (home-page "https://clap.rs/")
-    (synopsis "Command Line Argument Parser")
-    (description
-     "This package provides a simple to use, efficient, and full-featured
-Command Line Argument Parser.")
     (license license:expat)))
 
 (define-public rust-clicolors-control-1
-- 
2.31.1





^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [bug#48065] [PATCH 09/14] gnu: Add rust-askama-escape-0.10.
       [not found] <20210427161233.7381-1-873216071@qq.com>
                   ` (6 preceding siblings ...)
  2021-04-27 16:12 ` [bug#48065] [PATCH 08/14] gnu: Add rust-clap-3 Zheng Junjie
@ 2021-04-27 16:12 ` Zheng Junjie
  2021-04-27 16:12 ` [bug#48065] [PATCH 10/14] gnu: Add rust-askama-shared-0.11 Zheng Junjie
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Zheng Junjie @ 2021-04-27 16:12 UTC (permalink / raw)
  To: 48065; +Cc: Zheng junjie

From: Zheng junjie <873216071@qq.com>

* gnu/packages/crates-io.scm (rust-askama-escape-0.10): New variable.
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9516d74549..89c773d37e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2194,6 +2194,29 @@ ArrayVec and ArrayString.")
         ("rust-matches" ,rust-matches-0.1)
         ("rust-serde-test" ,rust-serde-test-1))))))
 
+(define-public rust-askama-escape-0.10
+  (package
+    (name "rust-askama-escape")
+    (version "0.10.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "askama_escape" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1ys6wcrkpzygk6r93zd0rhinhy89rraarl0m4afwi023m70hihch"))))
+    (build-system cargo-build-system)
+    (arguments `(#:skip-build? #t))
+    (home-page "https://github.com/djc/askama")
+    (synopsis
+     "Optimized HTML escaping code, extracted from Askama")
+    (description
+     "This package provides a optimized HTML escaping code, extracted from
+Askama.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-as-slice-0.1
   (package
     (name "rust-as-slice")
-- 
2.31.1





^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [bug#48065] [PATCH 10/14] gnu: Add rust-askama-shared-0.11.
       [not found] <20210427161233.7381-1-873216071@qq.com>
                   ` (7 preceding siblings ...)
  2021-04-27 16:12 ` [bug#48065] [PATCH 09/14] gnu: Add rust-askama-escape-0.10 Zheng Junjie
@ 2021-04-27 16:12 ` Zheng Junjie
  2021-04-27 16:12 ` [bug#48065] [PATCH 11/14] gnu: Add rust-askama-derive-0.10 Zheng Junjie
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Zheng Junjie @ 2021-04-27 16:12 UTC (permalink / raw)
  To: 48065; +Cc: Zheng junjie

From: Zheng junjie <873216071@qq.com>

* gnu/packages/crates-io.scm (rust-askama-shared-0.11): New variable.
---
 gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 89c773d37e..4b9283b826 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2217,6 +2217,42 @@ ArrayVec and ArrayString.")
 Askama.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-askama-shared-0.11
+  (package
+    (name "rust-askama-shared")
+    (version "0.11.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "askama_shared" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1g3ksf5is0qwx9rd5lxn5gbvxfcpby5gl9cahg26wl1w1xzbg0i5"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-askama-escape" ,rust-askama-escape-0.10)
+        ("rust-humansize" ,rust-humansize-1)
+        ("rust-nom" ,rust-nom-6)
+        ("rust-num-traits" ,rust-num-traits-0.2)
+        ("rust-percent-encoding"
+         ,rust-percent-encoding-2)
+        ("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-derive" ,rust-serde-derive-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-serde-yaml" ,rust-serde-yaml-0.8)
+        ("rust-syn" ,rust-syn-1)
+        ("rust-toml" ,rust-toml-0.5))))
+    (home-page "https://github.com/djc/askama")
+    (synopsis "Shared code for Askama")
+    (description "This package provides a shared code for Askama.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-as-slice-0.1
   (package
     (name "rust-as-slice")
-- 
2.31.1





^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [bug#48065] [PATCH 11/14] gnu: Add rust-askama-derive-0.10.
       [not found] <20210427161233.7381-1-873216071@qq.com>
                   ` (8 preceding siblings ...)
  2021-04-27 16:12 ` [bug#48065] [PATCH 10/14] gnu: Add rust-askama-shared-0.11 Zheng Junjie
@ 2021-04-27 16:12 ` Zheng Junjie
  2021-04-27 16:12 ` [bug#48065] [PATCH 12/14] gnu: Add rust-askama-0.10 Zheng Junjie
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Zheng Junjie @ 2021-04-27 16:12 UTC (permalink / raw)
  To: 48065; +Cc: Zheng junjie

From: Zheng junjie <873216071@qq.com>

* gnu/packages/crates-io.scm (rust-askama-derive-0.10): New variable.
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4b9283b826..8b8c3f049c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2253,6 +2253,32 @@ Askama.")
     (description "This package provides a shared code for Askama.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-askama-derive-0.10
+  (package
+    (name "rust-askama-derive")
+    (version "0.10.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "askama_derive" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "08jmqb4lq5cvfjjcq7kjk5q4589zlsvc3ld35yfjyf4hqb22aafa"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-askama-shared" ,rust-askama-shared-0.11)
+        ("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-syn" ,rust-syn-1))))
+    (home-page "https://github.com/djc/askama")
+    (synopsis "Procedural macro package for Askama")
+    (description
+     "This package provide procedural macro package for Askama.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-as-slice-0.1
   (package
     (name "rust-as-slice")
-- 
2.31.1





^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [bug#48065] [PATCH 12/14] gnu: Add rust-askama-0.10.
       [not found] <20210427161233.7381-1-873216071@qq.com>
                   ` (9 preceding siblings ...)
  2021-04-27 16:12 ` [bug#48065] [PATCH 11/14] gnu: Add rust-askama-derive-0.10 Zheng Junjie
@ 2021-04-27 16:12 ` Zheng Junjie
  2021-04-27 16:12 ` [bug#48065] [PATCH 13/14] gnu: Add rust-seq-macro-0.2 Zheng Junjie
  2021-04-27 16:12 ` [bug#48065] [PATCH 14/14] gnu: Add zoxide Zheng Junjie
  12 siblings, 0 replies; 14+ messages in thread
From: Zheng Junjie @ 2021-04-27 16:12 UTC (permalink / raw)
  To: 48065; +Cc: Zheng junjie

From: Zheng junjie <873216071@qq.com>

* gnu/packages/crates-io.scm (rust-askama-0.10): New variable.
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8b8c3f049c..778bb3dc69 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2279,6 +2279,35 @@ Askama.")
      "This package provide procedural macro package for Askama.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-askama-0.10
+  (package
+    (name "rust-askama")
+    (version "0.10.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "askama" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0d1iwywdgw3nba2iphayw8sfm3s8m9izwnhfar707qa7ds5p766j"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-askama-derive" ,rust-askama-derive-0.10)
+        ("rust-askama-escape" ,rust-askama-escape-0.10)
+        ("rust-askama-shared" ,rust-askama-shared-0.11)
+        ("rust-mime" ,rust-mime-0.3)
+        ("rust-mime-guess" ,rust-mime-guess-2))))
+    (home-page "https://github.com/djc/askama")
+    (synopsis
+     "Type-safe, compiled Jinja-like templates for Rust")
+    (description
+     "This package provides a type-safe, compiled Jinja-like templates for Rust.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-as-slice-0.1
   (package
     (name "rust-as-slice")
-- 
2.31.1





^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [bug#48065] [PATCH 13/14] gnu: Add rust-seq-macro-0.2.
       [not found] <20210427161233.7381-1-873216071@qq.com>
                   ` (10 preceding siblings ...)
  2021-04-27 16:12 ` [bug#48065] [PATCH 12/14] gnu: Add rust-askama-0.10 Zheng Junjie
@ 2021-04-27 16:12 ` Zheng Junjie
  2021-04-27 16:12 ` [bug#48065] [PATCH 14/14] gnu: Add zoxide Zheng Junjie
  12 siblings, 0 replies; 14+ messages in thread
From: Zheng Junjie @ 2021-04-27 16:12 UTC (permalink / raw)
  To: 48065; +Cc: Zheng junjie

From: Zheng junjie <873216071@qq.com>

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 778bb3dc69..5523b3d0e2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36822,6 +36822,33 @@ also have to make sure that the wrapper is dropped from within the original
 thread.  If any of these constraints is violated, a panic occurs.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-seq-macro-0.2
+  (package
+    (name "rust-seq-macro")
+    (version "0.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "seq-macro" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "168y8k344gssy1q0q6napy8cswgl4hyh2kcim9pk3b9wxbx4g7ss"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-rustversion" ,rust-rustversion-1)
+        ("rust-trybuild" ,rust-trybuild-1))))
+    (home-page
+     "https://github.com/dtolnay/seq-macro")
+    (synopsis
+     "Macro to repeat sequentially indexed copies of a fragment of code")
+    (description
+     "This package provides a macro to repeat sequentially indexed copies of a
+fragment of code.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-sequoia-openpgp-0.9
   (package
     (name "rust-sequoia-openpgp")
-- 
2.31.1





^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [bug#48065] [PATCH 14/14] gnu: Add zoxide.
       [not found] <20210427161233.7381-1-873216071@qq.com>
                   ` (11 preceding siblings ...)
  2021-04-27 16:12 ` [bug#48065] [PATCH 13/14] gnu: Add rust-seq-macro-0.2 Zheng Junjie
@ 2021-04-27 16:12 ` Zheng Junjie
  2021-05-26 13:24   ` bug#48065: " Nicolas Goaziou
  12 siblings, 1 reply; 14+ messages in thread
From: Zheng Junjie @ 2021-04-27 16:12 UTC (permalink / raw)
  To: 48065; +Cc: Zheng junjie

From: Zheng junjie <873216071@qq.com>

* gnu/packages/rust-apps.scm (zoxide): New variable.
---
 gnu/packages/rust-apps.scm | 41 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index dc9526b267..4e654c86ca 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -801,3 +801,44 @@ the details of how it was triggered.
 library and a dynamic library, and a C header to be used by any C (and
 C-compatible) software.")
     (license license:expat)))
+
+(define-public zoxide
+  (package
+    (name "zoxide")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "zoxide" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1ih01l3xp8plicxhmyxjkq12ncpdb8954jcj3dh3lwvkhvw29nkk"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-anyhow" ,rust-anyhow-1)
+        ("rust-askama" ,rust-askama-0.10)
+        ("rust-bincode" ,rust-bincode-1)
+        ("rust-clap" ,rust-clap-3)
+        ("rust-dirs-next" ,rust-dirs-next-2)
+        ("rust-dunce" ,rust-dunce-1)
+        ("rust-glob" ,rust-glob-0.3)
+        ("rust-once-cell" ,rust-once-cell-1)
+        ("rust-ordered-float" ,rust-ordered-float-2)
+        ("rust-rand" ,rust-rand-0.7)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-tempfile" ,rust-tempfile-3))
+       #:cargo-development-inputs
+       (("rust-assert-cmd" ,rust-assert-cmd-1)
+        ("rust-seq-macro" ,rust-seq-macro-0.2))))
+    (home-page
+     "https://github.com/ajeetdsouza/zoxide/")
+    (synopsis
+     "A faster way to navigate your filesystem")
+    (description
+     "@command{zoxide} is a blazing fast replacement for your cd command. It
+keeps track of the directories you use most frequently, and uses a ranking
+algorithm to navigate to the best match.")
+    (license license:expat)))
-- 
2.31.1





^ permalink raw reply related	[flat|nested] 14+ messages in thread

* bug#48065: [PATCH 14/14] gnu: Add zoxide.
  2021-04-27 16:12 ` [bug#48065] [PATCH 14/14] gnu: Add zoxide Zheng Junjie
@ 2021-05-26 13:24   ` Nicolas Goaziou
  0 siblings, 0 replies; 14+ messages in thread
From: Nicolas Goaziou @ 2021-05-26 13:24 UTC (permalink / raw)
  To: Zheng Junjie; +Cc: 48065-done

Hello,

Zheng Junjie <873216071@qq.com> writes:

> * gnu/packages/rust-apps.scm (zoxide): New variable.

Thank you.

> +    (synopsis
> +     "A faster way to navigate your filesystem")
> +    (description
> +     "@command{zoxide} is a blazing fast replacement for your cd command. It
> +keeps track of the directories you use most frequently, and uses a ranking
> +algorithm to navigate to the best match.")

I removed buzzwords from the synopsis and description, and applied the
patch set.

Note that upstream released 0.7.0, if you feel like upgrading it.

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2021-05-26 13:26 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210427161233.7381-1-873216071@qq.com>
2021-04-27 16:12 ` [bug#48065] [PATCH 02/14] gnu: Add rust-hyphenation-commons-0.8 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 03/14] gnu: Add rust-hyphenation-0.8 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 04/14] gnu: Add rust-textwrap-0.12 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 05/14] gnu: Add rust-os-str-bytes-2 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 06/14] gnu: Add rust-strsim-0.10 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 07/14] gnu: Add rust-clap-derive-3 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 08/14] gnu: Add rust-clap-3 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 09/14] gnu: Add rust-askama-escape-0.10 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 10/14] gnu: Add rust-askama-shared-0.11 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 11/14] gnu: Add rust-askama-derive-0.10 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 12/14] gnu: Add rust-askama-0.10 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 13/14] gnu: Add rust-seq-macro-0.2 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 14/14] gnu: Add zoxide Zheng Junjie
2021-05-26 13:24   ` bug#48065: " Nicolas Goaziou

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).