unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#50662] [PATCH 00/34] Add NewsFlash base library.
@ 2021-09-18 16:11 Vinicius Monego
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                   ` (2 more replies)
  0 siblings, 3 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:11 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

This patchset adds the base library for the NewsFlash GTK feed reader.

I don't plan to work on the full client for now, but since the library is done I am submitting it.

The failing tests in the last patch seem to come from reqwest. It takes a long time to build and I couldn't investigate further.

Vinicius Monego (34):
  gnu: Add rust-barrel-0.6.
  gnu: Add rust-strong-xml-derive-0.6.
  gnu: Add rust-debug-helper-0.3.
  gnu: Add rust-obfstr-0.3.
  gnu: Add rust-des-0.6.
  gnu: Add rust-entities-1.
  gnu: Add rust-escaper-0.1.
  gnu: Add rust-crc-any-2.
  gnu: Add rust-tiger-0.1.
  gnu: Add rust-libxml-0.3.
  gnu: Add rust-libxml-0.2.
  gnu: Add rust-article-scraper-1.
  gnu: Add rust-feed-rs-0.6.
  gnu: Add rust-feedbin-api-0.1.
  gnu: Add rust-feedly-api-0.4.
  gnu: Add rust-fever-api-0.2.
  gnu: Add rust-miniflux-api-0.3.
  gnu: Add rust-newsblur-api-0.1.
  gnu: Add rust-migrations-internals-1.
  gnu: Add rust-migrations-macros-1.
  gnu: Add rust-diesel-migrations-1.
  gnu: Add rust-rand-xorshift-0.3.
  gnu: Add rust-region-2.
  gnu: rust-x86-0.33: Fix version requirement.
  gnu: Add rust-proptest-1.
  gnu: Add rust-jetscii-0.5.
  gnu: Add rust-strong-xml-0.6.
  gnu: Add rust-opml-1.
  gnu: Add rust-aes-soft-0.6.
  gnu: Add rust-aesni-0.10.
  gnu: Add rust-aes-0.6.
  gnu: Add rust-block-modes-0.7.
  gnu: Add rust-magic-crypt-3.
  gnu: Add rust-news-flash-1.

 gnu/packages/crates-io.scm | 1037 ++++++++++++++++++++++++++++++++++--
 1 file changed, 994 insertions(+), 43 deletions(-)

-- 
2.30.2





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

* [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6.
  2021-09-18 16:11 [bug#50662] [PATCH 00/34] Add NewsFlash base library Vinicius Monego
@ 2021-09-18 16:13 ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 02/34] gnu: Add rust-strong-xml-derive-0.6 Vinicius Monego
                     ` (32 more replies)
  2021-09-18 17:03 ` [bug#50662] [PATCH v2 21/34] gnu: Add rust-diesel-migrations-1 Vinicius Monego
  2021-11-03 12:31 ` bug#50662: [PATCH 00/34] Add NewsFlash base library Nicolas Goaziou
  2 siblings, 33 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-barrel-0.6): 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 d1aaa40c71..6bf63aed2e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4115,6 +4115,29 @@ trace (backtrace) at runtime in a Rust program.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-barrel-0.6
+  (package
+    (name "rust-barrel")
+    (version "0.6.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "barrel" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1qgzrfpp2acb06bbqrf5a8pjjwf3dwinq7sv2hqq0b1jn5wcjrwx"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-diesel" ,rust-diesel-1)
+        ("rust-tempfile" ,rust-tempfile-3))))
+    (home-page "https://rust-db.github.io/barrel/")
+    (synopsis "Powerful schema migration building API for Rust")
+    (description "This package provides a powerful schema migration building
+API for Rust.")
+    (license (list license:expat license:x11 license:asl2.0))))
+
 (define-public rust-base32-0.4
   (package
     (name "rust-base32")
-- 
2.30.2





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

* [bug#50662] [PATCH 02/34] gnu: Add rust-strong-xml-derive-0.6.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 03/34] gnu: Add rust-debug-helper-0.3 Vinicius Monego
                     ` (31 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-strong-xml-derive-0.6): 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 6bf63aed2e..d1cca07404 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46702,6 +46702,30 @@ 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-strong-xml-derive-0.6
+  (package
+    (name "rust-strong-xml-derive")
+    (version "0.6.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "strong-xml-derive" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1qf7smxaaglj7p9fs0csd0cyvwcy30w96pdy2aqi65ijk7s83iwj"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))))
+    (home-page "https://github.com/PoiScript/strong-xml")
+    (synopsis "Strong typed XML")
+    (description
+     "This package provides a strong typed XML parser, based on xmlparser.")
+    (license license:expat)))
+
 (define-public rust-strsim-0.10
   (package
     (name "rust-strsim")
-- 
2.30.2





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

* [bug#50662] [PATCH 03/34] gnu: Add rust-debug-helper-0.3.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 02/34] gnu: Add rust-strong-xml-derive-0.6 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 04/34] gnu: Add rust-obfstr-0.3 Vinicius Monego
                     ` (30 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-debug-helper-0.3): New variable.
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d1cca07404..4a2a4d11a7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12965,6 +12965,25 @@ sizes.  Big-endian order is used.  WARNING: Block must be aligned!")
 type.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-debug-helper-0.3
+  (package
+    (name "rust-debug-helper")
+    (version "0.3.12")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "debug-helper" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1a73xl73psmzyihd62jy30g1acfmgjmyi2k8khmh170mrq6x3yvn"))))
+    (build-system cargo-build-system)
+    (home-page "https://magiclen.org/debug-helper")
+    (synopsis "Declarative macros to implement the `Debug` trait manually")
+    (description "This crate provides declarative macros to help you implement
+the `Debug` trait manually.")
+    (license license:expat)))
+
 (define-public rust-decimal-2
   (package
     (name "rust-decimal")
-- 
2.30.2





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

* [bug#50662] [PATCH 04/34] gnu: Add rust-obfstr-0.3.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 02/34] gnu: Add rust-strong-xml-derive-0.6 Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 03/34] gnu: Add rust-debug-helper-0.3 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 05/34] gnu: Add rust-des-0.6 Vinicius Monego
                     ` (29 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-obfstr-0.3): New variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4a2a4d11a7..9c77969505 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30798,6 +30798,28 @@ giga, kibi.")
      "This package can convert numbers into stack-allocated byte arrays.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-obfstr-0.3
+  (package
+    (name "rust-obfstr")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "obfstr" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0y5azgk8ds43m1sd5pc4hhakxzxkfcfscl24y8gsbvwdznxjqavv"))))
+    (arguments
+     `(#:rust ,rust-1.52)) ; fix for E0658
+    (build-system cargo-build-system)
+    (home-page "https://github.com/CasualX/obfstr")
+    (synopsis "Compile time string constant obfuscation for Rust")
+    (description "This package provides a compile time string constant
+obfuscation for Rust.  The string constant itself is embedded in obfuscated
+form and deobfuscated locally.")
+    (license license:expat)))
+
 (define-public rust-obj-0.9
   (package
     (name "rust-obj")
-- 
2.30.2





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

* [bug#50662] [PATCH 05/34] gnu: Add rust-des-0.6.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (2 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 04/34] gnu: Add rust-obfstr-0.3 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 06/34] gnu: Add rust-entities-1 Vinicius Monego
                     ` (28 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-des-0.6): 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 9c77969505..bf26863cc1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13534,6 +13534,32 @@ traits for both structs and enums.")
 structs and enums.")
   (license license:expat)))
 
+(define-public rust-des-0.6
+  (package
+    (name "rust-des")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "des" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1bigk1x1kxvnfjn1alr8cc383z1flmj8q7g2pjl2zal8i1s7qkmj"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-byteorder" ,rust-byteorder-1)
+        ("rust-cipher" ,rust-cipher-0.2)
+        ("rust-opaque-debug" ,rust-opaque-debug-0.3))
+       #:cargo-development-inputs
+       (("rust-cipher" ,rust-cipher-0.2))))
+    (home-page "https://github.com/RustCrypto/block-ciphers")
+    (synopsis "DES and Triple DES block ciphers implementation")
+    (description "This package provides DES and Triple DES (3DES, TDES) block
+ciphers implementations.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-deunicode-0.4
   (package
     (name "rust-deunicode")
-- 
2.30.2





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

* [bug#50662] [PATCH 06/34] gnu: Add rust-entities-1.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (3 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 05/34] gnu: Add rust-des-0.6 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 07/34] gnu: Add rust-escaper-0.1 Vinicius Monego
                     ` (27 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bf26863cc1..d4bbe348d7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15577,6 +15577,25 @@ Standard.")
 order.")
     (license license:expat)))
 
+(define-public rust-entities-1
+  (package
+    (name "rust-entities")
+    (version "1.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "entities" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1jnpr0zvj97wm9pnh7fnl74rzaar39hhg65p03cm08bqqgj0lcmm"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/p-jackson/entities")
+    (synopsis "Raw data needed to convert to and from HTML entities")
+    (description "This package provides the raw data needed to convert to and
+from HTML entities.")
+    (license license:expat)))
+
 (define-public rust-enum-as-inner-0.3
   (package
     (name "rust-enum-as-inner")
-- 
2.30.2





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

* [bug#50662] [PATCH 07/34] gnu: Add rust-escaper-0.1.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (4 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 06/34] gnu: Add rust-entities-1 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 08/34] gnu: Add rust-crc-any-2 Vinicius Monego
                     ` (26 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-escaper-0.1): New variable.
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d4bbe348d7..53ef68d184 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16110,6 +16110,31 @@ deserialized from environment variables.")
 @code{no_std} environment.")
     (license license:boost1.0)))
 
+(define-public rust-escaper-0.1
+  (package
+    (name "rust-escaper")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "escaper" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0rhn3ipb5c3zns4wakclilfqzbmax6pwx7l367dipfj9fdxvjgm5"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-entities" ,rust-entities-1))
+       #:cargo-development-inputs
+       (("rust-num" ,rust-num-0.4)
+        ("rust-rand" ,rust-rand-0.8))))
+    (home-page "https://github.com/dignifiedquire/rust-escaper")
+    (synopsis "Library for HTML entity encoding and decoding")
+    (description "This package provides a library for HTML entity encoding and
+decoding.")
+    (license (list license:asl2.0 license:expat license:mpl2.0))))
+
 (define-public rust-escargot-0.5
   (package
     (name "rust-escargot")
-- 
2.30.2





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

* [bug#50662] [PATCH 08/34] gnu: Add rust-crc-any-2.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (5 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 07/34] gnu: Add rust-escaper-0.1 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 09/34] gnu: Add rust-tiger-0.1 Vinicius Monego
                     ` (25 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-crc-any-2): 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 53ef68d184..30230e00c2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10544,6 +10544,32 @@ to @code{is_x86_feature_detected}.")
 64) with support for various standards.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-crc-any-2
+  (package
+    (name "rust-crc-any")
+    (version "2.3.12")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "crc-any" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0fq85y5akcadahnj5nqbs47qhgp5cpfn2z19zc3gp4wpxr3989kr"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-debug-helper" ,rust-debug-helper-0.3)
+        ("rust-heapless" ,rust-heapless-0.5))
+       #:cargo-development-inputs
+       (("rust-bencher" ,rust-bencher-0.1))))
+    (home-page "https://magiclen.org/crc-any")
+    (synopsis "Compute CRC values")
+    (description "This package provides a crate to compute CRC values by
+providing the length of bits, expression, reflection, an initial value and a
+final xor value.  It has many built-in CRC functions.")
+    (license license:expat)))
+
 (define-public rust-crc32fast-1
   (package
     (name "rust-crc32fast")
-- 
2.30.2





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

* [bug#50662] [PATCH 09/34] gnu: Add rust-tiger-0.1.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (6 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 08/34] gnu: Add rust-crc-any-2 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 10/34] gnu: Add rust-libxml-0.3 Vinicius Monego
                     ` (24 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-tiger-0.1): 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 30230e00c2..774046c5f2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50132,6 +50132,33 @@ fixed set of worker threads.")
      "You can bind to libsodium from Rust with this crate.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-tiger-0.1
+  (package
+    (name "rust-tiger")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tiger" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "01bhc7h8kxc5kjqx9sqrb3g8h4f9av6hpxzyihjq7pprphf56gj4"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-block-buffer" ,rust-block-buffer-0.9)
+        ("rust-byteorder" ,rust-byteorder-1)
+        ("rust-digest" ,rust-digest-0.9))
+       #:cargo-development-inputs
+       (("rust-digest" ,rust-digest-0.9)
+        ("rust-hex-literal" ,rust-hex-literal-0.2))))
+    (home-page "https://github.com/RustCrypto/hashes")
+    (synopsis "Tiger hash function")
+    (description
+     "This package provides the Tiger cryptographic hash function.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-tikv-jemalloc-sys-0.4
   (package
     (name "rust-tikv-jemalloc-sys")
-- 
2.30.2





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

* [bug#50662] [PATCH 10/34] gnu: Add rust-libxml-0.3.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (7 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 09/34] gnu: Add rust-tiger-0.1 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 11/34] gnu: Add rust-libxml-0.2 Vinicius Monego
                     ` (23 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-libxml-0.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 774046c5f2..9910d593dc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25369,6 +25369,37 @@ file.
         ("rust-pkg-config" ,rust-pkg-config-0.3)
         ("rust-vcpkg" ,rust-vcpkg-0.2))))))
 
+(define-public rust-libxml-0.3
+  (package
+    (name "rust-libxml")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libxml" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1f42qrc1mim85ivh2d4bn2wbqrn7dfg1i3l1q32yajcr835pxh02"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-libc" ,rust-libc-0.2)
+        ("rust-pkg-config" ,rust-pkg-config-0.3)
+        ("rust-vcpkg" ,rust-vcpkg-0.2))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.3)
+        ("rust-rayon" ,rust-rayon-1))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("libxml2" ,libxml2)))
+    (home-page "https://github.com/KWARC/rust-libxml")
+    (synopsis "Rust wrapper for libxml2")
+    (description "This package provides a Rust wrapper for libxml2, the XML
+C parser and toolkit developed for the GNOME project.")
+    (license license:expat)))
+
 (define-public rust-libz-sys-1
   (package
     (name "rust-libz-sys")
-- 
2.30.2





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

* [bug#50662] [PATCH 11/34] gnu: Add rust-libxml-0.2.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (8 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 10/34] gnu: Add rust-libxml-0.3 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 12/34] gnu: Add rust-article-scraper-1 Vinicius Monego
                     ` (22 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9910d593dc..f636c843cf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25400,6 +25400,20 @@ file.
 C parser and toolkit developed for the GNOME project.")
     (license license:expat)))
 
+(define-public rust-libxml-0.2
+  (package
+    (inherit rust-libxml-0.3)
+    (name "rust-libxml")
+    (version "0.2.17")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libxml" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1z567rqb55hxn0g7hpvcsh3nfvz9mdzlwk4mk179z9bkf7v10r29"))))))
+
 (define-public rust-libz-sys-1
   (package
     (name "rust-libz-sys")
-- 
2.30.2





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

* [bug#50662] [PATCH 12/34] gnu: Add rust-article-scraper-1.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (9 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 11/34] gnu: Add rust-libxml-0.2 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 13/34] gnu: Add rust-feed-rs-0.6 Vinicius Monego
                     ` (21 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-article-scraper-1): 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 f636c843cf..caaf3bd8ff 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2433,6 +2433,46 @@ format.")
         ("rust-serde-derive" ,rust-serde-derive-1)
         ("rust-serde-json" ,rust-serde-json-1))))))
 
+(define-public rust-article-scraper-1
+  (package
+    (name "rust-article-scraper")
+    (version "1.1.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "article_scraper" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1l904hn99fgj83f3dhspxgz1j3xzgjbnbfsgvmhd1jg5l4hqfhxp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f ;tests use the network
+       #:cargo-inputs
+       (("rust-base64" ,rust-base64-0.13)
+        ("rust-chrono" ,rust-chrono-0.4)
+        ("rust-encoding-rs" ,rust-encoding-rs-0.8)
+        ("rust-failure" ,rust-failure-0.1)
+        ("rust-image" ,rust-image-0.23)
+        ("rust-libxml" ,rust-libxml-0.2)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-parking-lot" ,rust-parking-lot-0.11)
+        ("rust-regex" ,rust-regex-1)
+        ("rust-reqwest" ,rust-reqwest-0.11)
+        ("rust-tokio" ,rust-tokio-1)
+        ("rust-url" ,rust-url-2))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("libxml2" ,libxml2)
+       ("openssl" ,openssl)))
+    (home-page "https://gitlab.com/news-flash/article_scraper")
+    (synopsis "Scrap article contents from the web")
+    (description "This package provides a crate to scrap article contents from
+the web.")
+    ;; No copyright headers in the source code.  LICENSE indicates gpl3.
+    (license license:gpl3)))
+
 (define-public rust-askama-escape-0.10
   (package
     (name "rust-askama-escape")
-- 
2.30.2





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

* [bug#50662] [PATCH 13/34] gnu: Add rust-feed-rs-0.6.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (10 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 12/34] gnu: Add rust-article-scraper-1 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 14/34] gnu: Add rust-feedbin-api-0.1 Vinicius Monego
                     ` (20 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-feed-rs-0.6): 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 caaf3bd8ff..bfca320d36 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16714,6 +16714,37 @@ it.")
        (("rust-libc" ,rust-libc-0.2)
         ("rust-winapi" ,rust-winapi-0.3))))))
 
+(define-public rust-feed-rs-0.6
+  (package
+    (name "rust-feed-rs")
+    (version "0.6.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "feed-rs" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1a1ain6r9k8bx7cz9pxqh3hdqbn8cqdkrbx78c8rxb7vqngyg53z"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-chrono" ,rust-chrono-0.4)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-mime" ,rust-mime-0.3)
+        ("rust-quick-xml" ,rust-quick-xml-0.20)
+        ("rust-regex" ,rust-regex-1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-siphasher" ,rust-siphasher-0.3)
+        ("rust-url" ,rust-url-2)
+        ("rust-uuid" ,rust-uuid-0.8))))
+    (home-page "https://github.com/feed-rs/feed-rs")
+    (synopsis "Unified feed parser")
+    (description "This package provides a unified feed parser that handles
+Atom, RSS 2.0, RSS 1.0, RSS 0.x and JSON Feed")
+    (license license:expat)))
+
 (define-public rust-femme-2
   (package
     (name "rust-femme")
-- 
2.30.2





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

* [bug#50662] [PATCH 14/34] gnu: Add rust-feedbin-api-0.1.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (11 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 13/34] gnu: Add rust-feed-rs-0.6 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 15/34] gnu: Add rust-feedly-api-0.4 Vinicius Monego
                     ` (19 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-feedbin-api-0.1): New variable.
---
 gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bfca320d36..b5ebecf56c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16745,6 +16745,43 @@ it.")
 Atom, RSS 2.0, RSS 1.0, RSS 0.x and JSON Feed")
     (license license:expat)))
 
+(define-public rust-feedbin-api-0.1
+  (package
+    (name "rust-feedbin-api")
+    (version "0.1.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "feedbin-api" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "170xf3cgsqgqpnafpdmzzw9yvzc51r22lgr4f4hcrmidxlxpmlkp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f ;tests use the network
+       #:cargo-inputs
+       (("rust-chrono" ,rust-chrono-0.4)
+        ("rust-failure" ,rust-failure-0.1)
+        ("rust-reqwest" ,rust-reqwest-0.11)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-derive" ,rust-serde-derive-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-url" ,rust-url-2))
+       #:cargo-development-inputs
+       (("rust-dotenv" ,rust-dotenv-0.15)
+        ("rust-rand" ,rust-rand-0.8)
+        ("rust-tokio" ,rust-tokio-1))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("openssl" ,openssl)))
+    (home-page "https://gitlab.com/news-flash/feedbin_api")
+    (synopsis  "Rust implementation of the Feedbin REST API")
+    (description
+     "This package provides a Rust implementation of the Feedbin REST API.")
+    (license license:unlicense)))
+
 (define-public rust-femme-2
   (package
     (name "rust-femme")
-- 
2.30.2





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

* [bug#50662] [PATCH 15/34] gnu: Add rust-feedly-api-0.4.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (12 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 14/34] gnu: Add rust-feedbin-api-0.1 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 16/34] gnu: Add rust-fever-api-0.2 Vinicius Monego
                     ` (18 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-feedly-api-0.4): 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 b5ebecf56c..1ef63e2d5d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16782,6 +16782,46 @@ Atom, RSS 2.0, RSS 1.0, RSS 0.x and JSON Feed")
      "This package provides a Rust implementation of the Feedbin REST API.")
     (license license:unlicense)))
 
+(define-public rust-feedly-api-0.4
+  (package
+    (name "rust-feedly-api")
+    (version "0.4.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "feedly-api" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1knad1bghc8hhfcyl35fcnhrk01vklamq07630rdk0pg6ax04swi"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f ;tests open external connections
+       #:cargo-inputs
+       (("rust-chrono" ,rust-chrono-0.4)
+        ("rust-failure" ,rust-failure-0.1)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-percent-encoding"
+         ,rust-percent-encoding-2)
+        ("rust-reqwest" ,rust-reqwest-0.11)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-derive" ,rust-serde-derive-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-url" ,rust-url-2))
+       #:cargo-development-inputs
+       (("rust-dotenv" ,rust-dotenv-0.15)
+        ("rust-tokio" ,rust-tokio-1))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("openssl" ,openssl)))
+    (home-page "https://gitlab.com/news-flash/feedly_api")
+    (synopsis "Rust implementation of the feedly REST API")
+    (description
+     "This package provides a Rust implementation of the feedly REST API.")
+    ;; No copyright headers in the source code.  LICENSE indicates gpl3.
+    (license license:gpl3)))
+
 (define-public rust-femme-2
   (package
     (name "rust-femme")
-- 
2.30.2





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

* [bug#50662] [PATCH 16/34] gnu: Add rust-fever-api-0.2.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (13 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 15/34] gnu: Add rust-feedly-api-0.4 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 17/34] gnu: Add rust-miniflux-api-0.3 Vinicius Monego
                     ` (17 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1ef63e2d5d..398712b712 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16939,6 +16939,43 @@ Atom, RSS 2.0, RSS 1.0, RSS 0.x and JSON Feed")
        (("rust-clap" ,rust-clap-2)
         ("rust-tempdir" ,rust-tempdir-0.3))))))
 
+(define-public rust-fever-api-0.2
+  (package
+    (name "rust-fever-api")
+    (version "0.2.11")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "fever-api" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0pv4g241pc0bfwy9gjwsmrdv7mplzbifxr5mxf0k82yxawg55anc"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f ;tests use the network
+       #:cargo-inputs
+       (("rust-failure" ,rust-failure-0.1)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-md5" ,rust-md5-0.7)
+        ("rust-reqwest" ,rust-reqwest-0.11)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-url" ,rust-url-2))
+       #:cargo-development-inputs
+       (("rust-dotenv" ,rust-dotenv-0.15)
+        ("rust-tokio" ,rust-tokio-1))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("openssl" ,openssl)))
+    (home-page "https://gitlab.com/news-flash/fever_api")
+    (synopsis "Rust implementation of the Fever API")
+    (description
+     "This packages provides a Rust implementation of the Fever API.")
+    ;; No copyright headers in the source code.  LICENSE indicates gpl3.
+    (license license:gpl3)))
+
 (define-public rust-filesize-0.2
   (package
     (name "rust-filesize")
-- 
2.30.2





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

* [bug#50662] [PATCH 17/34] gnu: Add rust-miniflux-api-0.3.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (14 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 16/34] gnu: Add rust-fever-api-0.2 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 18/34] gnu: Add rust-newsblur-api-0.1 Vinicius Monego
                     ` (16 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-miniflux-api-0.3): New variable.
---
 gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 398712b712..22a5cabd0f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27890,6 +27890,44 @@ file's MIME type by its extension.")
         ("rust-phf-codegen" ,rust-phf-codegen-0.7)
         ("rust-unicase" ,rust-unicase-1))))))
 
+(define-public rust-miniflux-api-0.3
+  (package
+    (name "rust-miniflux-api")
+    (version "0.3.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "miniflux-api" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0r0bd907v2abv40i0c0xaj87ik4w9d3syn1f4byy0ssv55dw7mdq"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f ;tests use the network
+       #:cargo-inputs
+       (("rust-base64" ,rust-base64-0.13)
+        ("rust-failure" ,rust-failure-0.1)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-reqwest" ,rust-reqwest-0.11)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-derive" ,rust-serde-derive-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-url" ,rust-url-2))
+       #:cargo-development-inputs
+       (("rust-dotenv" ,rust-dotenv-0.15)
+        ("rust-tokio" ,rust-tokio-1))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("openssl" ,openssl)))
+    (home-page "https://gitlab.com/news-flash/miniflux_api")
+    (synopsis "Rust implementation of the Miniflux REST API")
+    (description
+     "This package provides a Rust implementation of the Miniflux REST API.")
+    ;; No copyright headers in the source code.  LICENSE indicates gpl3.
+    (license license:gpl3)))
+
 (define-public rust-miniz-oxide-0.4
   (package
     (name "rust-miniz-oxide")
-- 
2.30.2





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

* [bug#50662] [PATCH 18/34] gnu: Add rust-newsblur-api-0.1.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (15 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 17/34] gnu: Add rust-miniflux-api-0.3 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 19/34] gnu: Add rust-migrations-internals-1 Vinicius Monego
                     ` (15 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-newsblur-api-0.1): New variable.
---
 gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 22a5cabd0f..5b2f415dd6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29485,6 +29485,41 @@ cryptographic library.")
 release (fork of debug_unreachable)")
     (license license:expat)))
 
+(define-public rust-newsblur-api-0.1
+  (package
+    (name "rust-newsblur-api")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "newsblur_api" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1lh5njrrk4fjc168npk1q3962dzsgmvz4fzvha46g9b83cf3jxzx"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f ;tests use the network
+       #:cargo-inputs
+       (("rust-failure" ,rust-failure-0.1)
+        ("rust-reqwest" ,rust-reqwest-0.11)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-url" ,rust-url-2))
+       #:cargo-development-inputs
+       (("rust-dotenv" ,rust-dotenv-0.15)
+        ("rust-tokio" ,rust-tokio-1))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("openssl" ,openssl)))
+    (home-page "https://gitlab.com/news-flash/newsblur_api/")
+    (synopsis "Rust implementation of the NewsBlur API")
+    (description
+     "This package provides a Rust implementation of the NewsBlur API.")
+    ;; No copyright headers in the source code.  LICENSE indicates gpl3.
+    (license license:gpl3)))
+
 (define-public rust-nibble-vec-0.1
   (package
     (name "rust-nibble-vec")
-- 
2.30.2





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

* [bug#50662] [PATCH 19/34] gnu: Add rust-migrations-internals-1.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (16 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 18/34] gnu: Add rust-newsblur-api-0.1 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 20/34] gnu: Add rust-migrations-macros-1 Vinicius Monego
                     ` (14 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-migrations-internals-1): New variable.
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5b2f415dd6..f00975b2fc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27782,6 +27782,31 @@ quality, high performance hash algorithm.")
      "This package provides a simple math expression parser and evaluator.")
     (license (list license:unlicense license:expat))))
 
+(define-public rust-migrations-internals-1
+  (package
+    (name "rust-migrations-internals")
+    (version "1.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "migrations_internals" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0q2qk4jpa16mcfcmhjz6hdg2s73az1k7j0cy08vvh87h997chkrb"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-barrel" ,rust-barrel-0.6)
+        ("rust-diesel" ,rust-diesel-1))
+       #:cargo-development-inputs
+       (("rust-tempdir" ,rust-tempdir-0.3))))
+    (home-page "https://diesel.rs")
+    (synopsis "Internal implementation of Diesel's migration mechanism")
+    (description "This package provides an internal implementation of Diesel's
+migration mechanism.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-mimalloc-0.1
   (package
     (name "rust-mimalloc")
-- 
2.30.2





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

* [bug#50662] [PATCH 20/34] gnu: Add rust-migrations-macros-1.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (17 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 19/34] gnu: Add rust-migrations-internals-1 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 21/34] gnu: Add rust-diesel-migrations-1 Vinicius Monego
                     ` (13 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-migrations-macros-1): 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 f00975b2fc..286d504e4c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27807,6 +27807,38 @@ quality, high performance hash algorithm.")
 migration mechanism.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-migrations-macros-1
+  (package
+    (name "rust-migrations-macros")
+    (version "1.4.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "migrations_macros" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "173qgwans6n2jf6b7qajq273rvg1r9c34p5fflzr53gx14lz2lwp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-migrations-internals"
+         ,rust-migrations-internals-1)
+        ("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))
+       #:cargo-development-inputs
+       (("rust-tempdir" ,rust-tempdir-0.3))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("sqlite" ,sqlite)))
+    (home-page "https://diesel.rs")
+    (synopsis "Code generation macros for Diesel's embedded migrations")
+    (description "This package provides code generation macros for Diesel's
+embedded migrations.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-mimalloc-0.1
   (package
     (name "rust-mimalloc")
-- 
2.30.2





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

* [bug#50662] [PATCH 21/34] gnu: Add rust-diesel-migrations-1.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (18 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 20/34] gnu: Add rust-migrations-macros-1 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 22/34] gnu: Add rust-rand-xorshift-0.3 Vinicius Monego
                     ` (12 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-diesel-migrations-1): 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 286d504e4c..5827b1bf0e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27782,6 +27782,35 @@ quality, high performance hash algorithm.")
      "This package provides a simple math expression parser and evaluator.")
     (license (list license:unlicense license:expat))))
 
+(define-public rust-diesel-migrations-1
+  (package
+    (name "rust-diesel-migrations")
+    (version "1.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "diesel_migrations" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0k4g03ciqwya2xc1xvy5s9cs6q55k45wxa1gszswfg9m2f2dwg5z"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f ;doctest_setup.rs: No such file or directory
+       #:cargo-inputs
+       (("rust-migrations-internals"
+         ,rust-migrations-internals-1)
+        ("rust-migrations-macros"
+         ,rust-migrations-macros-1))
+       #:cargo-development-inputs
+       (("rust-cfg-if" ,rust-cfg-if-0.1)
+        ("rust-diesel" ,rust-diesel-1)
+        ("rust-dotenv" ,rust-dotenv-0.10))))
+    (home-page "https://diesel.rs")
+    (synopsis "Migration management for diesel")
+    (description "This package provides migration management for Diesel.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-migrations-internals-1
   (package
     (name "rust-migrations-internals")
-- 
2.30.2





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

* [bug#50662] [PATCH 22/34] gnu: Add rust-rand-xorshift-0.3.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (19 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 21/34] gnu: Add rust-diesel-migrations-1 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 23/34] gnu: Add rust-region-2 Vinicius Monego
                     ` (11 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-rand-xorshift-0.3): New variable.
(rust-rand-xorshift-0.2): Inherit from above.
[home-page]: Switch to GitHub URL.
---
 gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++-------
 1 file changed, 26 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5827b1bf0e..f8bf4d9221 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37907,8 +37907,33 @@ generator based on timing jitter.")
        #:cargo-development-inputs
        (("rust-bincode" ,rust-bincode-1))))))
 
+(define-public rust-rand-xorshift-0.3
+  (package
+    (name "rust-rand-xorshift")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rand_xorshift" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "13vcag7gmqspzyabfl1gr9ykvxd2142q2agrj8dkyjmfqmgg4nyj"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-rand-core" ,rust-rand-core-0.6)
+        ("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs
+       (("rust-bincode" ,rust-bincode-1))))
+    (home-page "https://github.com/astocko/xorshift")
+    (synopsis "Xorshift random number generator")
+    (description "Xorshift random number generator.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-rand-xorshift-0.2
   (package
+    (inherit rust-rand-xorshift-0.3)
     (name "rust-rand-xorshift")
     (version "0.2.0")
     (source
@@ -37920,18 +37945,12 @@ generator based on timing jitter.")
        (sha256
         (base32
          "1a6wy76lc5fimm1n9n8fzhp4cfjwfwxh4hx63bg3vlh1d2w1dm3p"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-rand-core" ,rust-rand-core-0.5)
         ("rust-serde" ,rust-serde-1))
        #:cargo-development-inputs
-       (("rust-bincode" ,rust-bincode-1))))
-    (home-page "https://crates.io/crates/rand-xorshift")
-    (synopsis "Xorshift random number generator")
-    (description
-     "Xorshift random number generator.")
-    (license (list license:expat license:asl2.0))))
+       (("rust-bincode" ,rust-bincode-1))))))
 
 (define-public rust-rand-xorshift-0.1
   (package
-- 
2.30.2





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

* [bug#50662] [PATCH 23/34] gnu: Add rust-region-2.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (20 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 22/34] gnu: Add rust-rand-xorshift-0.3 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 24/34] gnu: rust-x86-0.33: Fix version requirement Vinicius Monego
                     ` (10 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-region-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 f8bf4d9221..9547601775 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38873,6 +38873,33 @@ uses finite automata and guarantees linear time matching on all inputs.")
        (("rust-quickcheck" ,rust-quickcheck-0.2)
         ("rust-rand" ,rust-rand-0.3))))))
 
+(define-public rust-region-2
+  (package
+    (name "rust-region")
+    (version "2.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "region" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1q4szar3ms76552iygmhsvzhvvwkgz4l94qpx600vmyw5bm58zl7"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bitflags" ,rust-bitflags-1)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-mach" ,rust-mach-0.3)
+        ("rust-winapi" ,rust-winapi-0.3))
+       #:cargo-development-inputs
+       (("rust-memmap" ,rust-memmap-0.7))))
+    (home-page "https://github.com/darfink/region-rs")
+    (synopsis "Library for manipulating memory regions")
+    (description
+     "This package provides a library for manipulating memory regions.")
+    (license license:expat)))
+
 (define-public rust-relative-path-1
   (package
     (name "rust-relative-path")
-- 
2.30.2





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

* [bug#50662] [PATCH 24/34] gnu: rust-x86-0.33: Fix version requirement.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (21 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 23/34] gnu: Add rust-region-2 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 25/34] gnu: Add rust-proptest-1 Vinicius Monego
                     ` (9 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-x86-0.33)[source]: Add snippet to fix
rust-raw-cpuid-8 version requirement.
---
 gnu/packages/crates-io.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9547601775..5c17a71875 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57971,7 +57971,13 @@ non-cryptographic hashing algorithm and random number generator.")
        (uri (crate-uri "x86" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0sas98yzn549f5lxswqra2rjdfjxh24f3ndw5dfsnwnm9rlsr1i7"))))
+        (base32 "0sas98yzn549f5lxswqra2rjdfjxh24f3ndw5dfsnwnm9rlsr1i7"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin
+           (substitute* "Cargo.toml"
+             (("8.0.\\*") "^8"))
+           #t))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
-- 
2.30.2





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

* [bug#50662] [PATCH 25/34] gnu: Add rust-proptest-1.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (22 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 24/34] gnu: rust-x86-0.33: Fix version requirement Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 26/34] gnu: Add rust-jetscii-0.5 Vinicius Monego
                     ` (8 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-proptest-1): New variable.
(rust-proptest-0.10): Inherit from above.
---
 gnu/packages/crates-io.scm | 46 +++++++++++++++++++++++++++++++-------
 1 file changed, 38 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5c17a71875..f7733036e3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36147,8 +36147,45 @@ transfer).
 This library mimics the Git way of showing progress.")
     (license license:gpl2+)))
 
+(define-public rust-proptest-1
+  (package
+    (name "rust-proptest")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "proptest" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1rdhjnf0xma5rmsq04d31n2vq1pgbm42pjc6jn3jsj8qgz09q38y"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bit-set" ,rust-bit-set-0.5)
+        ("rust-bitflags" ,rust-bitflags-1)
+        ("rust-byteorder" ,rust-byteorder-1)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-num-traits" ,rust-num-traits-0.2)
+        ("rust-quick-error" ,rust-quick-error-2)
+        ("rust-rand" ,rust-rand-0.8)
+        ("rust-rand-chacha" ,rust-rand-chacha-0.3)
+        ("rust-rand-xorshift" ,rust-rand-xorshift-0.3)
+        ("rust-regex-syntax" ,rust-regex-syntax-0.6)
+        ("rust-rusty-fork" ,rust-rusty-fork-0.3)
+        ("rust-tempfile" ,rust-tempfile-3)
+        ("rust-x86" ,rust-x86-0.33))
+       #:cargo-development-inputs
+       (("rust-regex" ,rust-regex-1))))
+    (home-page "https://altsysrq.github.io/proptest-book/proptest/index.html")
+    (synopsis "Hypothesis-like property-based testing and shrinking")
+    (description
+     "The @code{proptest} crate provides most of Proptest’s functionality,
+including most strategies and the testing framework itself.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-proptest-0.10
   (package
+    (inherit rust-proptest-1)
     (name "rust-proptest")
     (version "0.10.1")
     (source
@@ -36158,7 +36195,6 @@ This library mimics the Git way of showing progress.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0vv4cvwn1v7h0zjajmhznll554a2ri8dqw26xql3q49r246cirhj"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
@@ -36176,13 +36212,7 @@ This library mimics the Git way of showing progress.")
         ("rust-tempfile" ,rust-tempfile-3)
         ("rust-x86" ,rust-x86-0.33))
        #:cargo-development-inputs
-       (("rust-regex" ,rust-regex-1))))
-    (home-page "https://altsysrq.github.io/proptest-book/proptest/index.html")
-    (synopsis "Hypothesis-like property-based testing and shrinking")
-    (description
-     "The @code{proptest} crate provides most of Proptest’s functionality,
-including most strategies and the testing framework itself.")
-    (license (list license:expat license:asl2.0))))
+       (("rust-regex" ,rust-regex-1))))))
 
 (define-public rust-proptest-0.9
   (package
-- 
2.30.2





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

* [bug#50662] [PATCH 26/34] gnu: Add rust-jetscii-0.5.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (23 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 25/34] gnu: Add rust-proptest-1 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 27/34] gnu: Add rust-strong-xml-0.6 Vinicius Monego
                     ` (7 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-jetscii-0.5): New variable.
(rust-jetscii-0.3): Inherit from above.
---
 gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++-------
 1 file changed, 26 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f7733036e3..09e4dd219e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24035,27 +24035,46 @@ primitives to an @code{io::Write}.")
     (native-inputs
      `(("jemalloc" ,jemalloc)))))
 
-(define-public rust-jetscii-0.3
+(define-public rust-jetscii-0.5
   (package
     (name "rust-jetscii")
-    (version "0.3.1")
+    (version "0.5.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "jetscii" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1sq6d6c9vi44gkr566w2f1d4n6mmrjx8gjdwgnhkgcsg051j391j"))))
+        (base32 "1x4z5ixlxv1wa70d3d6ad3n8qxz6z00i13zwnv219v45qcwybbnb"))))
     (build-system cargo-build-system)
-    (arguments `(#:skip-build? #t))
+    (arguments
+     `(#:rust ,rust-1.52 ; fix for E0658
+       #:cargo-development-inputs
+       (("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-memmap" ,rust-memmap-0.7)
+        ("rust-proptest" ,rust-proptest-1)
+        ("rust-region" ,rust-region-2))))
     (home-page "https://github.com/shepmaster/jetscii")
     (synopsis
      "Search strings and byte slices for sets of ASCII characters or bytes")
-    (description
-     "This package provides a tiny library to efficiently search strings and
-byte slices for sets of ASCII characters or bytes.")
+    (description "This package provides a tiny library to efficiently search
+strings and byte slices for sets of ASCII characters or bytes.")
     (license license:expat)))
 
+(define-public rust-jetscii-0.3
+  (package
+    (inherit rust-jetscii-0.5)
+    (name "rust-jetscii")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "jetscii" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1sq6d6c9vi44gkr566w2f1d4n6mmrjx8gjdwgnhkgcsg051j391j"))))
+    (arguments `(#:skip-build? #t))))
+
 (define-public rust-jni-0.18
   (package
     (name "rust-jni")
-- 
2.30.2





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

* [bug#50662] [PATCH 27/34] gnu: Add rust-strong-xml-0.6.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (24 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 26/34] gnu: Add rust-jetscii-0.5 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 28/34] gnu: Add rust-opml-1 Vinicius Monego
                     ` (6 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-strong-xml-0.6): 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 09e4dd219e..b1584f8783 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47347,6 +47347,37 @@ file.")
      "This package provides a strong typed XML parser, based on xmlparser.")
     (license license:expat)))
 
+(define-public rust-strong-xml-0.6
+  (package
+    (name "rust-strong-xml")
+    (version "0.6.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "strong-xml" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1gxy34j42x5a572cfkkhmxamrm764pswj5r3wcwi0bwfc4xgn68x"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:rust ,rust-1.52 ; fix for E0658
+       #:cargo-inputs
+       (("rust-jetscii" ,rust-jetscii-0.5)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-memchr" ,rust-memchr-2)
+        ("rust-strong-xml-derive"
+         ,rust-strong-xml-derive-0.6)
+        ("rust-xmlparser" ,rust-xmlparser-0.13))
+       #:cargo-development-inputs
+       (("rust-env-logger" ,rust-env-logger-0.8))))
+    (home-page "https://github.com/PoiScript/strong-xml")
+    (synopsis "Strong typed xml")
+    (description
+     "This package provides a strong typed XML parser, based on xmlparser.")
+    (license license:expat)))
+
 (define-public rust-strsim-0.10
   (package
     (name "rust-strsim")
-- 
2.30.2





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

* [bug#50662] [PATCH 28/34] gnu: Add rust-opml-1.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (25 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 27/34] gnu: Add rust-strong-xml-0.6 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 29/34] gnu: Add rust-aes-soft-0.6 Vinicius Monego
                     ` (5 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b1584f8783..287de54b93 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32111,6 +32111,31 @@ system for OpenSSL.")
      "Extra FFI bindings to OpenSSL that require a C shim.")
     (license license:expat)))
 
+(define-public rust-opml-1
+  (package
+    (name "rust-opml")
+    (version "1.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "opml" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0zr7f101inkz3rknl0r3q0qkklfxhqrji7yxmqixajfn3m5mbjfa"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:rust ,rust-1.52 ; fix for E0658
+       #:cargo-inputs
+       (("rust-regex" ,rust-regex-1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-strong-xml" ,rust-strong-xml-0.6)
+        ("rust-thiserror" ,rust-thiserror-1))))
+    (home-page "https://github.com/Holllo/opml")
+    (synopsis "OPML parser for Rust")
+    (description "This package provides an OPML parser for Rust.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-ord-subset-3
   (package
     (name "rust-ord-subset")
-- 
2.30.2





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

* [bug#50662] [PATCH 29/34] gnu: Add rust-aes-soft-0.6.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (26 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 28/34] gnu: Add rust-opml-1 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 30/34] gnu: Add rust-aesni-0.10 Vinicius Monego
                     ` (4 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-aes-soft-0.6): New variable.
(rust-aes-soft-0.4): Inherit from above.
---
 gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++------
 1 file changed, 29 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 287de54b93..523e2d0675 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1274,21 +1274,21 @@ acceleration.")
         ("rust-subtle" ,rust-subtle-2)
         ("rust-zeroize" ,rust-zeroize-1))))))
 
-(define-public rust-aes-soft-0.4
+(define-public rust-aes-soft-0.6
   (package
     (name "rust-aes-soft")
-    (version "0.4.0")
+    (version "0.6.4")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "aes-soft" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "19szsg0qqxq42k7bj5p3svb147n8wxy9a20n4g7mcl2fwrz689a9"))))
+        (base32 "0wj0fi2pvmlw09yvb1aqf0mfkzrfxmjsf90finijh255ir4wf55y"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
+     `(#:skip-build? #t
+       #:cargo-inputs
        (("rust-block-cipher" ,rust-block-cipher-0.7)
         ("rust-byteorder" ,rust-byteorder-1)
         ("rust-opaque-debug" ,rust-opaque-debug-0.2))
@@ -1297,9 +1297,32 @@ acceleration.")
     (home-page "https://github.com/RustCrypto/block-ciphers")
     (synopsis "Bit-sliced implementation of AES (Rijndael) block ciphers")
     (description "This package provides a bit-sliced implementation of
-AES (Rijndael) block ciphers.")
+AES (Rijndael) block ciphers.
+
+This package is deprecated and was replaced by the @code{aes} crate.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-aes-soft-0.4
+  (package
+    (inherit rust-aes-soft-0.6)
+    (name "rust-aes-soft")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "aes-soft" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "19szsg0qqxq42k7bj5p3svb147n8wxy9a20n4g7mcl2fwrz689a9"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-block-cipher" ,rust-block-cipher-0.7)
+        ("rust-byteorder" ,rust-byteorder-1)
+        ("rust-opaque-debug" ,rust-opaque-debug-0.2))
+       #:cargo-development-inputs
+       (("rust-block-cipher" ,rust-block-cipher-0.7))))))
+
 (define-public rust-aes-soft-0.3
   (package
     (inherit rust-aes-soft-0.4)
-- 
2.30.2





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

* [bug#50662] [PATCH 30/34] gnu: Add rust-aesni-0.10.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (27 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 29/34] gnu: Add rust-aes-soft-0.6 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 31/34] gnu: Add rust-aes-0.6 Vinicius Monego
                     ` (3 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-aesni-0.10): New variable.
(rust-aesni-0.7): Inherit from above.
---
 gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++++++-------
 1 file changed, 27 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 523e2d0675..df3247f228 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1342,8 +1342,34 @@ This package is deprecated and was replaced by the @code{aes} crate.")
         ("rust-byteorder" ,rust-byteorder-1)
         ("rust-opaque-debug" ,rust-opaque-debug-0.2))))))
 
+(define-public rust-aesni-0.10
+  (package
+    (name "rust-aesni")
+    (version "0.10.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "aesni" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1kmh07fp9hbi1aa8dr2rybbgw8vqz6hjmk34c4w7sbscx7si2bpa"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-cipher" ,rust-cipher-0.2)
+        ("rust-opaque-debug" ,rust-opaque-debug-0.3))))
+    (home-page "https://github.com/RustCrypto/block-ciphers")
+    (synopsis "AES (Rijndael) block ciphers implementation using AES-NI")
+    (description "This package provides an implementation of AES (Rijndael)
+block ciphers using AES-NI.
+
+This package is deprecated and was replaced by the @code{aes} crate.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-aesni-0.7
   (package
+    (inherit rust-aesni-0.10)
     (name "rust-aesni")
     (version "0.7.0")
     (source
@@ -1354,7 +1380,6 @@ This package is deprecated and was replaced by the @code{aes} crate.")
        (sha256
         (base32
          "0r6j0mjkyqnwvgib01cvrwfw8rlx1biw75234niv723n1fdx6l6h"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-block-cipher" ,rust-block-cipher-0.7)
@@ -1362,12 +1387,7 @@ This package is deprecated and was replaced by the @code{aes} crate.")
         ("rust-stream-cipher" ,rust-stream-cipher-0.4))
        #:cargo-development-inputs
        (("rust-block-cipher" ,rust-block-cipher-0.7)
-        ("rust-stream-cipher" ,rust-stream-cipher-0.4))))
-    (home-page "https://github.com/RustCrypto/block-ciphers")
-    (synopsis "AES (Rijndael) block ciphers implementation using AES-NI")
-    (description "This package provides an implementation of AES (Rijndael)
-block ciphers using AES-NI.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-stream-cipher" ,rust-stream-cipher-0.4))))))
 
 (define-public rust-aesni-0.6
   (package
-- 
2.30.2





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

* [bug#50662] [PATCH 31/34] gnu: Add rust-aes-0.6.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (28 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 30/34] gnu: Add rust-aesni-0.10 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 32/34] gnu: Add rust-block-modes-0.7 Vinicius Monego
                     ` (2 subsequent siblings)
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-aes-0.6): New variable.
(rust-aes-0.4): Inherit from above.
---
 gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++++++-------
 1 file changed, 27 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index df3247f228..c9ab8c7921 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1173,8 +1173,34 @@ with Associated Data (AEAD) algorithms.")
        (("rust-generic-array" ,rust-generic-array-0.12)
         ("rust-heapless" ,rust-heapless-0.5))))))
 
+(define-public rust-aes-0.6
+  (package
+    (name "rust-aes")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "aes" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0q85mw70mgr4glza9y9lrs9nxfa1cdcqzfk6wx0smb3623pr2hw8"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-aes-soft" ,rust-aes-soft-0.6)
+        ("rust-aesni" ,rust-aesni-0.10)
+        ("rust-cipher" ,rust-cipher-0.2))
+       #:cargo-development-inputs
+       (("rust-cipher" ,rust-cipher-0.2))))
+    (home-page "https://github.com/RustCrypto/block-ciphers")
+    (synopsis "Facade for AES (Rijndael) block ciphers implementations")
+    (description "This package provides a facade for AES (Rijndael) block
+ciphers implementations.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-aes-0.4
   (package
+    (inherit rust-aes-0.6)
     (name "rust-aes")
     (version "0.4.0")
     (source
@@ -1185,19 +1211,13 @@ with Associated Data (AEAD) algorithms.")
        (sha256
         (base32
          "1xgsp2bn5llsppald60iw4497gaspslg0a8hknhniiz4zmki607p"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-aes-soft" ,rust-aes-soft-0.4)
         ("rust-aesni" ,rust-aesni-0.7)
         ("rust-block-cipher" ,rust-block-cipher-0.7))
        #:cargo-development-inputs
-       (("rust-block-cipher" ,rust-block-cipher-0.7))))
-    (home-page "https://github.com/RustCrypto/block-ciphers")
-    (synopsis "Facade for AES (Rijndael) block ciphers implementations")
-    (description "This package provides a facade for AES (Rijndael) block
-ciphers implementations.")
-    (license (list license:expat license:asl2.0))))
+       (("rust-block-cipher" ,rust-block-cipher-0.7))))))
 
 (define-public rust-aes-0.3
   (package
-- 
2.30.2





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

* [bug#50662] [PATCH 32/34] gnu: Add rust-block-modes-0.7.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (29 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 31/34] gnu: Add rust-aes-0.6 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 33/34] gnu: Add rust-magic-crypt-3 Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 34/34] gnu: Add rust-news-flash-1 Vinicius Monego
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-block-modes-0.7): 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 c9ab8c7921..15815d0538 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5857,6 +5857,32 @@ algorithms.  This package is deprecated.  Please use block-cipher instead.")
      `(#:cargo-inputs
        (("rust-generic-array" ,rust-generic-array-0.8))))))
 
+(define-public rust-block-modes-0.7
+  (package
+    (name "rust-block-modes")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "block-modes" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1w3jc3n7k4xq98b9mfina4wwpg1fq1s3b0mm5whqialb7q3yi82p"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-block-padding" ,rust-block-padding-0.2)
+        ("rust-cipher" ,rust-cipher-0.2))
+       #:cargo-development-inputs
+       (("rust-aes" ,rust-aes-0.6)
+        ("rust-hex-literal" ,rust-hex-literal-0.2))))
+    (home-page "https://github.com/RustCrypto/block-ciphers")
+    (synopsis "Block cipher modes of operation")
+    (description "This package provides a collection of block ciphers
+and block modes.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-block-padding-0.2
   (package
     (name "rust-block-padding")
-- 
2.30.2





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

* [bug#50662] [PATCH 33/34] gnu: Add rust-magic-crypt-3.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (30 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 32/34] gnu: Add rust-block-modes-0.7 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  2021-09-18 16:13   ` [bug#50662] [PATCH 34/34] gnu: Add rust-news-flash-1 Vinicius Monego
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-magic-crypt-3): New variable.
---
 gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 15815d0538..8155e506b6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -26812,6 +26812,39 @@ library")
      "This package provides a simple parser for MIME e-mail messages.")
     (license license:bsd-0)))
 
+(define-public rust-magic-crypt-3
+  (package
+    (name "rust-magic-crypt")
+    (version "3.1.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "magic-crypt" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1jb4m8wqxm2qkg9gcflxa0sg1d33a1a0r876h47njg43h494zjfk"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-aes-soft" ,rust-aes-soft-0.6)
+        ("rust-base64" ,rust-base64-0.13)
+        ("rust-block-modes" ,rust-block-modes-0.7)
+        ("rust-crc-any" ,rust-crc-any-2)
+        ("rust-des" ,rust-des-0.6)
+        ("rust-digest" ,rust-digest-0.9)
+        ("rust-md-5" ,rust-md-5-0.9)
+        ("rust-sha2" ,rust-sha2-0.9)
+        ("rust-tiger" ,rust-tiger-0.1))))
+    (home-page "https://magiclen.org/aes")
+    (synopsis "Library for DES or AES encryption")
+    (description
+     "MagicCrypt is a library to encrypt/decrypt strings, files, or data,
+using Data Encryption Standard(DES) or Advanced Encryption Standard(AES)
+algorithms.  It supports CBC block cipher mode, PKCS5 padding and 64, 128,
+192 or 256-bits key length.")
+    (license license:asl2.0)))
+
 (define-public rust-make-cmd-0.1
   (package
     (name "rust-make-cmd")
-- 
2.30.2





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

* [bug#50662] [PATCH 34/34] gnu: Add rust-news-flash-1.
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
                     ` (31 preceding siblings ...)
  2021-09-18 16:13   ` [bug#50662] [PATCH 33/34] gnu: Add rust-magic-crypt-3 Vinicius Monego
@ 2021-09-18 16:13   ` Vinicius Monego
  32 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 16:13 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-news-flash-1): New variable.
---
 gnu/packages/crates-io.scm | 72 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 72 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8155e506b6..36fd9175f8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29712,6 +29712,78 @@ cryptographic library.")
 release (fork of debug_unreachable)")
     (license license:expat)))
 
+(define-public rust-news-flash-1
+  (package
+    (name "rust-news-flash")
+    (version "1.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "news-flash" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0r3hz725kblxr6mhl8rkf2bffzmyya0ib3xr3jk5zm8x2jlpvlq6"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:rust ,rust-1.52 ; some inputs fail with E0658
+       #:tests? #f ; FIXME: "error reading DNS system conf" from reqwest
+       #:cargo-inputs
+       (("rust-article-scraper" ,rust-article-scraper-1)
+        ("rust-async-trait" ,rust-async-trait-0.1)
+        ("rust-base64" ,rust-base64-0.13)
+        ("rust-bitflags" ,rust-bitflags-1)
+        ("rust-bytes" ,rust-bytes-1)
+        ("rust-chrono" ,rust-chrono-0.4)
+        ("rust-diesel" ,rust-diesel-1)
+        ("rust-diesel-migrations"
+         ,rust-diesel-migrations-1)
+        ("rust-escaper" ,rust-escaper-0.1)
+        ("rust-failure" ,rust-failure-0.1)
+        ("rust-feed-rs" ,rust-feed-rs-0.6)
+        ("rust-feedbin-api" ,rust-feedbin-api-0.1)
+        ("rust-feedly-api" ,rust-feedly-api-0.4)
+        ("rust-fever-api" ,rust-fever-api-0.2)
+        ("rust-futures" ,rust-futures-0.3)
+        ("rust-hmac" ,rust-hmac-0.11)
+        ("rust-image" ,rust-image-0.23)
+        ("rust-itertools" ,rust-itertools-0.10)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-libxml" ,rust-libxml-0.3)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-magic-crypt" ,rust-magic-crypt-3)
+        ("rust-mime" ,rust-mime-0.3)
+        ("rust-mime-guess" ,rust-mime-guess-2)
+        ("rust-miniflux-api" ,rust-miniflux-api-0.3)
+        ("rust-newsblur-api" ,rust-newsblur-api-0.1)
+        ("rust-obfstr" ,rust-obfstr-0.3)
+        ("rust-opml" ,rust-opml-1)
+        ("rust-parking-lot" ,rust-parking-lot-0.11)
+        ("rust-rayon" ,rust-rayon-1)
+        ("rust-regex" ,rust-regex-1)
+        ("rust-reqwest" ,rust-reqwest-0.11)
+        ("rust-rust-embed" ,rust-rust-embed-5)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-derive" ,rust-serde-derive-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-sha-1" ,rust-sha-1-0.9)
+        ("rust-url" ,rust-url-2))
+       #:cargo-development-inputs
+       (("rust-tempfile" ,rust-tempfile-3)
+        ("rust-tokio" ,rust-tokio-1))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("libxml2" ,libxml2)
+       ("openssl" ,openssl)
+       ("sqlite" ,sqlite)))
+    (home-page "https://gitlab.com/news-flash/news_flash")
+    (synopsis "Base library for NewsFlash")
+    (description "This package provides the base library for the NewsFlash
+feed reader.")
+    ;; No copyright headers in the source code.  LICENSE indicates gpl3.
+    (license license:gpl3)))
+
 (define-public rust-newsblur-api-0.1
   (package
     (name "rust-newsblur-api")
-- 
2.30.2





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

* [bug#50662] [PATCH v2 21/34] gnu: Add rust-diesel-migrations-1.
  2021-09-18 16:11 [bug#50662] [PATCH 00/34] Add NewsFlash base library Vinicius Monego
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
@ 2021-09-18 17:03 ` Vinicius Monego
  2021-09-18 17:03   ` [bug#50662] [PATCH v2 22/34] gnu: Add rust-rand-xorshift-0.3 Vinicius Monego
                     ` (12 more replies)
  2021-11-03 12:31 ` bug#50662: [PATCH 00/34] Add NewsFlash base library Nicolas Goaziou
  2 siblings, 13 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 17:03 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-diesel-migrations-1): New variable.
---
Sending from here to change position to follow alphabetical order.

 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 286d504e4c..fbe8b33c90 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13877,6 +13877,35 @@ Builder for PostgreSQL, SQLite, and MySQL.")
 Diesel.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-diesel-migrations-1
+  (package
+    (name "rust-diesel-migrations")
+    (version "1.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "diesel_migrations" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0k4g03ciqwya2xc1xvy5s9cs6q55k45wxa1gszswfg9m2f2dwg5z"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f ;doctest_setup.rs: No such file or directory
+       #:cargo-inputs
+       (("rust-migrations-internals"
+         ,rust-migrations-internals-1)
+        ("rust-migrations-macros"
+         ,rust-migrations-macros-1))
+       #:cargo-development-inputs
+       (("rust-cfg-if" ,rust-cfg-if-0.1)
+        ("rust-diesel" ,rust-diesel-1)
+        ("rust-dotenv" ,rust-dotenv-0.10))))
+    (home-page "https://diesel.rs")
+    (synopsis "Migration management for diesel")
+    (description "This package provides migration management for Diesel.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-diff-0.1
   (package
     (name "rust-diff")
-- 
2.30.2





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

* [bug#50662] [PATCH v2 22/34] gnu: Add rust-rand-xorshift-0.3.
  2021-09-18 17:03 ` [bug#50662] [PATCH v2 21/34] gnu: Add rust-diesel-migrations-1 Vinicius Monego
@ 2021-09-18 17:03   ` Vinicius Monego
  2021-09-18 17:03   ` [bug#50662] [PATCH v2 23/34] gnu: Add rust-region-2 Vinicius Monego
                     ` (11 subsequent siblings)
  12 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 17:03 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-rand-xorshift-0.3): New variable.
(rust-rand-xorshift-0.2): Inherit from above.
[home-page]: Switch to GitHub URL.
---
 gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++-------
 1 file changed, 26 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fbe8b33c90..eb2b9c4f36 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37907,8 +37907,33 @@ generator based on timing jitter.")
        #:cargo-development-inputs
        (("rust-bincode" ,rust-bincode-1))))))
 
+(define-public rust-rand-xorshift-0.3
+  (package
+    (name "rust-rand-xorshift")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rand_xorshift" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "13vcag7gmqspzyabfl1gr9ykvxd2142q2agrj8dkyjmfqmgg4nyj"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-rand-core" ,rust-rand-core-0.6)
+        ("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs
+       (("rust-bincode" ,rust-bincode-1))))
+    (home-page "https://github.com/astocko/xorshift")
+    (synopsis "Xorshift random number generator")
+    (description "Xorshift random number generator.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-rand-xorshift-0.2
   (package
+    (inherit rust-rand-xorshift-0.3)
     (name "rust-rand-xorshift")
     (version "0.2.0")
     (source
@@ -37920,18 +37945,12 @@ generator based on timing jitter.")
        (sha256
         (base32
          "1a6wy76lc5fimm1n9n8fzhp4cfjwfwxh4hx63bg3vlh1d2w1dm3p"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-rand-core" ,rust-rand-core-0.5)
         ("rust-serde" ,rust-serde-1))
        #:cargo-development-inputs
-       (("rust-bincode" ,rust-bincode-1))))
-    (home-page "https://crates.io/crates/rand-xorshift")
-    (synopsis "Xorshift random number generator")
-    (description
-     "Xorshift random number generator.")
-    (license (list license:expat license:asl2.0))))
+       (("rust-bincode" ,rust-bincode-1))))))
 
 (define-public rust-rand-xorshift-0.1
   (package
-- 
2.30.2





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

* [bug#50662] [PATCH v2 23/34] gnu: Add rust-region-2.
  2021-09-18 17:03 ` [bug#50662] [PATCH v2 21/34] gnu: Add rust-diesel-migrations-1 Vinicius Monego
  2021-09-18 17:03   ` [bug#50662] [PATCH v2 22/34] gnu: Add rust-rand-xorshift-0.3 Vinicius Monego
@ 2021-09-18 17:03   ` Vinicius Monego
  2021-09-18 17:03   ` [bug#50662] [PATCH v2 24/34] gnu: rust-x86-0.33: Fix version requirement Vinicius Monego
                     ` (10 subsequent siblings)
  12 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 17:03 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-region-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 eb2b9c4f36..6dbc59ddc3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38873,6 +38873,33 @@ uses finite automata and guarantees linear time matching on all inputs.")
        (("rust-quickcheck" ,rust-quickcheck-0.2)
         ("rust-rand" ,rust-rand-0.3))))))
 
+(define-public rust-region-2
+  (package
+    (name "rust-region")
+    (version "2.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "region" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1q4szar3ms76552iygmhsvzhvvwkgz4l94qpx600vmyw5bm58zl7"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bitflags" ,rust-bitflags-1)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-mach" ,rust-mach-0.3)
+        ("rust-winapi" ,rust-winapi-0.3))
+       #:cargo-development-inputs
+       (("rust-memmap" ,rust-memmap-0.7))))
+    (home-page "https://github.com/darfink/region-rs")
+    (synopsis "Library for manipulating memory regions")
+    (description
+     "This package provides a library for manipulating memory regions.")
+    (license license:expat)))
+
 (define-public rust-relative-path-1
   (package
     (name "rust-relative-path")
-- 
2.30.2





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

* [bug#50662] [PATCH v2 24/34] gnu: rust-x86-0.33: Fix version requirement.
  2021-09-18 17:03 ` [bug#50662] [PATCH v2 21/34] gnu: Add rust-diesel-migrations-1 Vinicius Monego
  2021-09-18 17:03   ` [bug#50662] [PATCH v2 22/34] gnu: Add rust-rand-xorshift-0.3 Vinicius Monego
  2021-09-18 17:03   ` [bug#50662] [PATCH v2 23/34] gnu: Add rust-region-2 Vinicius Monego
@ 2021-09-18 17:03   ` Vinicius Monego
  2021-09-18 17:03   ` [bug#50662] [PATCH v2 25/34] gnu: Add rust-proptest-1 Vinicius Monego
                     ` (9 subsequent siblings)
  12 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 17:03 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-x86-0.33)[source]: Add snippet to fix
rust-raw-cpuid-8 version requirement.
---
 gnu/packages/crates-io.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6dbc59ddc3..7d52355d59 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57971,7 +57971,13 @@ non-cryptographic hashing algorithm and random number generator.")
        (uri (crate-uri "x86" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0sas98yzn549f5lxswqra2rjdfjxh24f3ndw5dfsnwnm9rlsr1i7"))))
+        (base32 "0sas98yzn549f5lxswqra2rjdfjxh24f3ndw5dfsnwnm9rlsr1i7"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin
+           (substitute* "Cargo.toml"
+             (("8.0.\\*") "^8"))
+           #t))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
-- 
2.30.2





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

* [bug#50662] [PATCH v2 25/34] gnu: Add rust-proptest-1.
  2021-09-18 17:03 ` [bug#50662] [PATCH v2 21/34] gnu: Add rust-diesel-migrations-1 Vinicius Monego
                     ` (2 preceding siblings ...)
  2021-09-18 17:03   ` [bug#50662] [PATCH v2 24/34] gnu: rust-x86-0.33: Fix version requirement Vinicius Monego
@ 2021-09-18 17:03   ` Vinicius Monego
  2021-09-18 17:03   ` [bug#50662] [PATCH v2 26/34] gnu: Add rust-jetscii-0.5 Vinicius Monego
                     ` (8 subsequent siblings)
  12 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 17:03 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-proptest-1): New variable.
(rust-proptest-0.10): Inherit from above.
---
 gnu/packages/crates-io.scm | 46 +++++++++++++++++++++++++++++++-------
 1 file changed, 38 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7d52355d59..868926341a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36147,8 +36147,45 @@ transfer).
 This library mimics the Git way of showing progress.")
     (license license:gpl2+)))
 
+(define-public rust-proptest-1
+  (package
+    (name "rust-proptest")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "proptest" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1rdhjnf0xma5rmsq04d31n2vq1pgbm42pjc6jn3jsj8qgz09q38y"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bit-set" ,rust-bit-set-0.5)
+        ("rust-bitflags" ,rust-bitflags-1)
+        ("rust-byteorder" ,rust-byteorder-1)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-num-traits" ,rust-num-traits-0.2)
+        ("rust-quick-error" ,rust-quick-error-2)
+        ("rust-rand" ,rust-rand-0.8)
+        ("rust-rand-chacha" ,rust-rand-chacha-0.3)
+        ("rust-rand-xorshift" ,rust-rand-xorshift-0.3)
+        ("rust-regex-syntax" ,rust-regex-syntax-0.6)
+        ("rust-rusty-fork" ,rust-rusty-fork-0.3)
+        ("rust-tempfile" ,rust-tempfile-3)
+        ("rust-x86" ,rust-x86-0.33))
+       #:cargo-development-inputs
+       (("rust-regex" ,rust-regex-1))))
+    (home-page "https://altsysrq.github.io/proptest-book/proptest/index.html")
+    (synopsis "Hypothesis-like property-based testing and shrinking")
+    (description
+     "The @code{proptest} crate provides most of Proptest’s functionality,
+including most strategies and the testing framework itself.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-proptest-0.10
   (package
+    (inherit rust-proptest-1)
     (name "rust-proptest")
     (version "0.10.1")
     (source
@@ -36158,7 +36195,6 @@ This library mimics the Git way of showing progress.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0vv4cvwn1v7h0zjajmhznll554a2ri8dqw26xql3q49r246cirhj"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
@@ -36176,13 +36212,7 @@ This library mimics the Git way of showing progress.")
         ("rust-tempfile" ,rust-tempfile-3)
         ("rust-x86" ,rust-x86-0.33))
        #:cargo-development-inputs
-       (("rust-regex" ,rust-regex-1))))
-    (home-page "https://altsysrq.github.io/proptest-book/proptest/index.html")
-    (synopsis "Hypothesis-like property-based testing and shrinking")
-    (description
-     "The @code{proptest} crate provides most of Proptest’s functionality,
-including most strategies and the testing framework itself.")
-    (license (list license:expat license:asl2.0))))
+       (("rust-regex" ,rust-regex-1))))))
 
 (define-public rust-proptest-0.9
   (package
-- 
2.30.2





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

* [bug#50662] [PATCH v2 26/34] gnu: Add rust-jetscii-0.5.
  2021-09-18 17:03 ` [bug#50662] [PATCH v2 21/34] gnu: Add rust-diesel-migrations-1 Vinicius Monego
                     ` (3 preceding siblings ...)
  2021-09-18 17:03   ` [bug#50662] [PATCH v2 25/34] gnu: Add rust-proptest-1 Vinicius Monego
@ 2021-09-18 17:03   ` Vinicius Monego
  2021-09-18 17:03   ` [bug#50662] [PATCH v2 27/34] gnu: Add rust-strong-xml-0.6 Vinicius Monego
                     ` (7 subsequent siblings)
  12 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 17:03 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-jetscii-0.5): New variable.
(rust-jetscii-0.3): Inherit from above.
---
 gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++-------
 1 file changed, 26 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 868926341a..83b6f9486d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24064,27 +24064,46 @@ primitives to an @code{io::Write}.")
     (native-inputs
      `(("jemalloc" ,jemalloc)))))
 
-(define-public rust-jetscii-0.3
+(define-public rust-jetscii-0.5
   (package
     (name "rust-jetscii")
-    (version "0.3.1")
+    (version "0.5.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "jetscii" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1sq6d6c9vi44gkr566w2f1d4n6mmrjx8gjdwgnhkgcsg051j391j"))))
+        (base32 "1x4z5ixlxv1wa70d3d6ad3n8qxz6z00i13zwnv219v45qcwybbnb"))))
     (build-system cargo-build-system)
-    (arguments `(#:skip-build? #t))
+    (arguments
+     `(#:rust ,rust-1.52 ; fix for E0658
+       #:cargo-development-inputs
+       (("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-memmap" ,rust-memmap-0.7)
+        ("rust-proptest" ,rust-proptest-1)
+        ("rust-region" ,rust-region-2))))
     (home-page "https://github.com/shepmaster/jetscii")
     (synopsis
      "Search strings and byte slices for sets of ASCII characters or bytes")
-    (description
-     "This package provides a tiny library to efficiently search strings and
-byte slices for sets of ASCII characters or bytes.")
+    (description "This package provides a tiny library to efficiently search
+strings and byte slices for sets of ASCII characters or bytes.")
     (license license:expat)))
 
+(define-public rust-jetscii-0.3
+  (package
+    (inherit rust-jetscii-0.5)
+    (name "rust-jetscii")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "jetscii" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1sq6d6c9vi44gkr566w2f1d4n6mmrjx8gjdwgnhkgcsg051j391j"))))
+    (arguments `(#:skip-build? #t))))
+
 (define-public rust-jni-0.18
   (package
     (name "rust-jni")
-- 
2.30.2





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

* [bug#50662] [PATCH v2 27/34] gnu: Add rust-strong-xml-0.6.
  2021-09-18 17:03 ` [bug#50662] [PATCH v2 21/34] gnu: Add rust-diesel-migrations-1 Vinicius Monego
                     ` (4 preceding siblings ...)
  2021-09-18 17:03   ` [bug#50662] [PATCH v2 26/34] gnu: Add rust-jetscii-0.5 Vinicius Monego
@ 2021-09-18 17:03   ` Vinicius Monego
  2021-09-18 17:03   ` [bug#50662] [PATCH v2 28/34] gnu: Add rust-opml-1 Vinicius Monego
                     ` (6 subsequent siblings)
  12 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 17:03 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-strong-xml-0.6): New variable.
---
Changed position to follow alphabetical order.

 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 83b6f9486d..0f281932f2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47323,6 +47323,37 @@ 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-strong-xml-0.6
+  (package
+    (name "rust-strong-xml")
+    (version "0.6.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "strong-xml" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1gxy34j42x5a572cfkkhmxamrm764pswj5r3wcwi0bwfc4xgn68x"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:rust ,rust-1.52 ; fix for E0658
+       #:cargo-inputs
+       (("rust-jetscii" ,rust-jetscii-0.5)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-memchr" ,rust-memchr-2)
+        ("rust-strong-xml-derive"
+         ,rust-strong-xml-derive-0.6)
+        ("rust-xmlparser" ,rust-xmlparser-0.13))
+       #:cargo-development-inputs
+       (("rust-env-logger" ,rust-env-logger-0.8))))
+    (home-page "https://github.com/PoiScript/strong-xml")
+    (synopsis "Strong typed xml")
+    (description
+     "This package provides a strong typed XML parser, based on xmlparser.")
+    (license license:expat)))
+
 (define-public rust-strong-xml-derive-0.6
   (package
     (name "rust-strong-xml-derive")
-- 
2.30.2





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

* [bug#50662] [PATCH v2 28/34] gnu: Add rust-opml-1.
  2021-09-18 17:03 ` [bug#50662] [PATCH v2 21/34] gnu: Add rust-diesel-migrations-1 Vinicius Monego
                     ` (5 preceding siblings ...)
  2021-09-18 17:03   ` [bug#50662] [PATCH v2 27/34] gnu: Add rust-strong-xml-0.6 Vinicius Monego
@ 2021-09-18 17:03   ` Vinicius Monego
  2021-09-18 17:03   ` [bug#50662] [PATCH v2 29/34] gnu: Add rust-aes-soft-0.6 Vinicius Monego
                     ` (5 subsequent siblings)
  12 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 17:03 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0f281932f2..89d1ed62ea 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32111,6 +32111,31 @@ system for OpenSSL.")
      "Extra FFI bindings to OpenSSL that require a C shim.")
     (license license:expat)))
 
+(define-public rust-opml-1
+  (package
+    (name "rust-opml")
+    (version "1.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "opml" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0zr7f101inkz3rknl0r3q0qkklfxhqrji7yxmqixajfn3m5mbjfa"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:rust ,rust-1.52 ; fix for E0658
+       #:cargo-inputs
+       (("rust-regex" ,rust-regex-1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-strong-xml" ,rust-strong-xml-0.6)
+        ("rust-thiserror" ,rust-thiserror-1))))
+    (home-page "https://github.com/Holllo/opml")
+    (synopsis "OPML parser for Rust")
+    (description "This package provides an OPML parser for Rust.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-ord-subset-3
   (package
     (name "rust-ord-subset")
-- 
2.30.2





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

* [bug#50662] [PATCH v2 29/34] gnu: Add rust-aes-soft-0.6.
  2021-09-18 17:03 ` [bug#50662] [PATCH v2 21/34] gnu: Add rust-diesel-migrations-1 Vinicius Monego
                     ` (6 preceding siblings ...)
  2021-09-18 17:03   ` [bug#50662] [PATCH v2 28/34] gnu: Add rust-opml-1 Vinicius Monego
@ 2021-09-18 17:03   ` Vinicius Monego
  2021-09-18 17:03   ` [bug#50662] [PATCH v2 30/34] gnu: Add rust-aesni-0.10 Vinicius Monego
                     ` (4 subsequent siblings)
  12 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 17:03 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-aes-soft-0.6): New variable.
(rust-aes-soft-0.4): Inherit from above.
---
 gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++------
 1 file changed, 29 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 89d1ed62ea..25cab9eb40 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1274,21 +1274,21 @@ acceleration.")
         ("rust-subtle" ,rust-subtle-2)
         ("rust-zeroize" ,rust-zeroize-1))))))
 
-(define-public rust-aes-soft-0.4
+(define-public rust-aes-soft-0.6
   (package
     (name "rust-aes-soft")
-    (version "0.4.0")
+    (version "0.6.4")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "aes-soft" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "19szsg0qqxq42k7bj5p3svb147n8wxy9a20n4g7mcl2fwrz689a9"))))
+        (base32 "0wj0fi2pvmlw09yvb1aqf0mfkzrfxmjsf90finijh255ir4wf55y"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
+     `(#:skip-build? #t
+       #:cargo-inputs
        (("rust-block-cipher" ,rust-block-cipher-0.7)
         ("rust-byteorder" ,rust-byteorder-1)
         ("rust-opaque-debug" ,rust-opaque-debug-0.2))
@@ -1297,9 +1297,32 @@ acceleration.")
     (home-page "https://github.com/RustCrypto/block-ciphers")
     (synopsis "Bit-sliced implementation of AES (Rijndael) block ciphers")
     (description "This package provides a bit-sliced implementation of
-AES (Rijndael) block ciphers.")
+AES (Rijndael) block ciphers.
+
+This package is deprecated and was replaced by the @code{aes} crate.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-aes-soft-0.4
+  (package
+    (inherit rust-aes-soft-0.6)
+    (name "rust-aes-soft")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "aes-soft" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "19szsg0qqxq42k7bj5p3svb147n8wxy9a20n4g7mcl2fwrz689a9"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-block-cipher" ,rust-block-cipher-0.7)
+        ("rust-byteorder" ,rust-byteorder-1)
+        ("rust-opaque-debug" ,rust-opaque-debug-0.2))
+       #:cargo-development-inputs
+       (("rust-block-cipher" ,rust-block-cipher-0.7))))))
+
 (define-public rust-aes-soft-0.3
   (package
     (inherit rust-aes-soft-0.4)
-- 
2.30.2





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

* [bug#50662] [PATCH v2 30/34] gnu: Add rust-aesni-0.10.
  2021-09-18 17:03 ` [bug#50662] [PATCH v2 21/34] gnu: Add rust-diesel-migrations-1 Vinicius Monego
                     ` (7 preceding siblings ...)
  2021-09-18 17:03   ` [bug#50662] [PATCH v2 29/34] gnu: Add rust-aes-soft-0.6 Vinicius Monego
@ 2021-09-18 17:03   ` Vinicius Monego
  2021-09-18 17:03   ` [bug#50662] [PATCH v2 31/34] gnu: Add rust-aes-0.6 Vinicius Monego
                     ` (3 subsequent siblings)
  12 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 17:03 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-aesni-0.10): New variable.
(rust-aesni-0.7): Inherit from above.
---
 gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++++++-------
 1 file changed, 27 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 25cab9eb40..10279e83d2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1342,8 +1342,34 @@ This package is deprecated and was replaced by the @code{aes} crate.")
         ("rust-byteorder" ,rust-byteorder-1)
         ("rust-opaque-debug" ,rust-opaque-debug-0.2))))))
 
+(define-public rust-aesni-0.10
+  (package
+    (name "rust-aesni")
+    (version "0.10.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "aesni" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1kmh07fp9hbi1aa8dr2rybbgw8vqz6hjmk34c4w7sbscx7si2bpa"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-cipher" ,rust-cipher-0.2)
+        ("rust-opaque-debug" ,rust-opaque-debug-0.3))))
+    (home-page "https://github.com/RustCrypto/block-ciphers")
+    (synopsis "AES (Rijndael) block ciphers implementation using AES-NI")
+    (description "This package provides an implementation of AES (Rijndael)
+block ciphers using AES-NI.
+
+This package is deprecated and was replaced by the @code{aes} crate.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-aesni-0.7
   (package
+    (inherit rust-aesni-0.10)
     (name "rust-aesni")
     (version "0.7.0")
     (source
@@ -1354,7 +1380,6 @@ This package is deprecated and was replaced by the @code{aes} crate.")
        (sha256
         (base32
          "0r6j0mjkyqnwvgib01cvrwfw8rlx1biw75234niv723n1fdx6l6h"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-block-cipher" ,rust-block-cipher-0.7)
@@ -1362,12 +1387,7 @@ This package is deprecated and was replaced by the @code{aes} crate.")
         ("rust-stream-cipher" ,rust-stream-cipher-0.4))
        #:cargo-development-inputs
        (("rust-block-cipher" ,rust-block-cipher-0.7)
-        ("rust-stream-cipher" ,rust-stream-cipher-0.4))))
-    (home-page "https://github.com/RustCrypto/block-ciphers")
-    (synopsis "AES (Rijndael) block ciphers implementation using AES-NI")
-    (description "This package provides an implementation of AES (Rijndael)
-block ciphers using AES-NI.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-stream-cipher" ,rust-stream-cipher-0.4))))))
 
 (define-public rust-aesni-0.6
   (package
-- 
2.30.2





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

* [bug#50662] [PATCH v2 31/34] gnu: Add rust-aes-0.6.
  2021-09-18 17:03 ` [bug#50662] [PATCH v2 21/34] gnu: Add rust-diesel-migrations-1 Vinicius Monego
                     ` (8 preceding siblings ...)
  2021-09-18 17:03   ` [bug#50662] [PATCH v2 30/34] gnu: Add rust-aesni-0.10 Vinicius Monego
@ 2021-09-18 17:03   ` Vinicius Monego
  2021-09-18 17:03   ` [bug#50662] [PATCH v2 32/34] gnu: Add rust-block-modes-0.7 Vinicius Monego
                     ` (2 subsequent siblings)
  12 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 17:03 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-aes-0.6): New variable.
(rust-aes-0.4): Inherit from above.
---
 gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++++++-------
 1 file changed, 27 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 10279e83d2..48ed5a9653 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1173,8 +1173,34 @@ with Associated Data (AEAD) algorithms.")
        (("rust-generic-array" ,rust-generic-array-0.12)
         ("rust-heapless" ,rust-heapless-0.5))))))
 
+(define-public rust-aes-0.6
+  (package
+    (name "rust-aes")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "aes" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0q85mw70mgr4glza9y9lrs9nxfa1cdcqzfk6wx0smb3623pr2hw8"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-aes-soft" ,rust-aes-soft-0.6)
+        ("rust-aesni" ,rust-aesni-0.10)
+        ("rust-cipher" ,rust-cipher-0.2))
+       #:cargo-development-inputs
+       (("rust-cipher" ,rust-cipher-0.2))))
+    (home-page "https://github.com/RustCrypto/block-ciphers")
+    (synopsis "Facade for AES (Rijndael) block ciphers implementations")
+    (description "This package provides a facade for AES (Rijndael) block
+ciphers implementations.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-aes-0.4
   (package
+    (inherit rust-aes-0.6)
     (name "rust-aes")
     (version "0.4.0")
     (source
@@ -1185,19 +1211,13 @@ with Associated Data (AEAD) algorithms.")
        (sha256
         (base32
          "1xgsp2bn5llsppald60iw4497gaspslg0a8hknhniiz4zmki607p"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-aes-soft" ,rust-aes-soft-0.4)
         ("rust-aesni" ,rust-aesni-0.7)
         ("rust-block-cipher" ,rust-block-cipher-0.7))
        #:cargo-development-inputs
-       (("rust-block-cipher" ,rust-block-cipher-0.7))))
-    (home-page "https://github.com/RustCrypto/block-ciphers")
-    (synopsis "Facade for AES (Rijndael) block ciphers implementations")
-    (description "This package provides a facade for AES (Rijndael) block
-ciphers implementations.")
-    (license (list license:expat license:asl2.0))))
+       (("rust-block-cipher" ,rust-block-cipher-0.7))))))
 
 (define-public rust-aes-0.3
   (package
-- 
2.30.2





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

* [bug#50662] [PATCH v2 32/34] gnu: Add rust-block-modes-0.7.
  2021-09-18 17:03 ` [bug#50662] [PATCH v2 21/34] gnu: Add rust-diesel-migrations-1 Vinicius Monego
                     ` (9 preceding siblings ...)
  2021-09-18 17:03   ` [bug#50662] [PATCH v2 31/34] gnu: Add rust-aes-0.6 Vinicius Monego
@ 2021-09-18 17:03   ` Vinicius Monego
  2021-09-18 17:03   ` [bug#50662] [PATCH v2 33/34] gnu: Add rust-magic-crypt-3 Vinicius Monego
  2021-09-18 17:03   ` [bug#50662] [PATCH v2 34/34] gnu: Add rust-news-flash-1 Vinicius Monego
  12 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 17:03 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-block-modes-0.7): 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 48ed5a9653..9c3a692834 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5857,6 +5857,32 @@ algorithms.  This package is deprecated.  Please use block-cipher instead.")
      `(#:cargo-inputs
        (("rust-generic-array" ,rust-generic-array-0.8))))))
 
+(define-public rust-block-modes-0.7
+  (package
+    (name "rust-block-modes")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "block-modes" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1w3jc3n7k4xq98b9mfina4wwpg1fq1s3b0mm5whqialb7q3yi82p"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-block-padding" ,rust-block-padding-0.2)
+        ("rust-cipher" ,rust-cipher-0.2))
+       #:cargo-development-inputs
+       (("rust-aes" ,rust-aes-0.6)
+        ("rust-hex-literal" ,rust-hex-literal-0.2))))
+    (home-page "https://github.com/RustCrypto/block-ciphers")
+    (synopsis "Block cipher modes of operation")
+    (description "This package provides a collection of block ciphers
+and block modes.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-block-padding-0.2
   (package
     (name "rust-block-padding")
-- 
2.30.2





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

* [bug#50662] [PATCH v2 33/34] gnu: Add rust-magic-crypt-3.
  2021-09-18 17:03 ` [bug#50662] [PATCH v2 21/34] gnu: Add rust-diesel-migrations-1 Vinicius Monego
                     ` (10 preceding siblings ...)
  2021-09-18 17:03   ` [bug#50662] [PATCH v2 32/34] gnu: Add rust-block-modes-0.7 Vinicius Monego
@ 2021-09-18 17:03   ` Vinicius Monego
  2021-09-18 17:03   ` [bug#50662] [PATCH v2 34/34] gnu: Add rust-news-flash-1 Vinicius Monego
  12 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 17:03 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-magic-crypt-3): New variable.
---
Changed position to follow alphabetical order.

 gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9c3a692834..0737226ce9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -26790,6 +26790,39 @@ Mach 3.0 kernel that underlies OSX.")
 library")
   (license (list license:asl2.0 license:expat))))
 
+(define-public rust-magic-crypt-3
+  (package
+    (name "rust-magic-crypt")
+    (version "3.1.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "magic-crypt" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1jb4m8wqxm2qkg9gcflxa0sg1d33a1a0r876h47njg43h494zjfk"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-aes-soft" ,rust-aes-soft-0.6)
+        ("rust-base64" ,rust-base64-0.13)
+        ("rust-block-modes" ,rust-block-modes-0.7)
+        ("rust-crc-any" ,rust-crc-any-2)
+        ("rust-des" ,rust-des-0.6)
+        ("rust-digest" ,rust-digest-0.9)
+        ("rust-md-5" ,rust-md-5-0.9)
+        ("rust-sha2" ,rust-sha2-0.9)
+        ("rust-tiger" ,rust-tiger-0.1))))
+    (home-page "https://magiclen.org/aes")
+    (synopsis "Library for DES or AES encryption")
+    (description
+     "MagicCrypt is a library to encrypt/decrypt strings, files, or data,
+using Data Encryption Standard(DES) or Advanced Encryption Standard(AES)
+algorithms.  It supports CBC block cipher mode, PKCS5 padding and 64, 128,
+192 or 256-bits key length.")
+    (license license:asl2.0)))
+
 (define-public rust-maildir-0.5
   (package
     (name "rust-maildir")
-- 
2.30.2





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

* [bug#50662] [PATCH v2 34/34] gnu: Add rust-news-flash-1.
  2021-09-18 17:03 ` [bug#50662] [PATCH v2 21/34] gnu: Add rust-diesel-migrations-1 Vinicius Monego
                     ` (11 preceding siblings ...)
  2021-09-18 17:03   ` [bug#50662] [PATCH v2 33/34] gnu: Add rust-magic-crypt-3 Vinicius Monego
@ 2021-09-18 17:03   ` Vinicius Monego
  12 siblings, 0 replies; 50+ messages in thread
From: Vinicius Monego @ 2021-09-18 17:03 UTC (permalink / raw)
  To: 50662; +Cc: Vinicius Monego

* gnu/packages/crates-io.scm (rust-news-flash-1): New variable.
---
 gnu/packages/crates-io.scm | 72 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 72 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0737226ce9..e90fc26e28 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29712,6 +29712,78 @@ cryptographic library.")
 release (fork of debug_unreachable)")
     (license license:expat)))
 
+(define-public rust-news-flash-1
+  (package
+    (name "rust-news-flash")
+    (version "1.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "news-flash" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0r3hz725kblxr6mhl8rkf2bffzmyya0ib3xr3jk5zm8x2jlpvlq6"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:rust ,rust-1.52 ; some inputs fail with E0658
+       #:tests? #f ; FIXME: "error reading DNS system conf" from reqwest
+       #:cargo-inputs
+       (("rust-article-scraper" ,rust-article-scraper-1)
+        ("rust-async-trait" ,rust-async-trait-0.1)
+        ("rust-base64" ,rust-base64-0.13)
+        ("rust-bitflags" ,rust-bitflags-1)
+        ("rust-bytes" ,rust-bytes-1)
+        ("rust-chrono" ,rust-chrono-0.4)
+        ("rust-diesel" ,rust-diesel-1)
+        ("rust-diesel-migrations"
+         ,rust-diesel-migrations-1)
+        ("rust-escaper" ,rust-escaper-0.1)
+        ("rust-failure" ,rust-failure-0.1)
+        ("rust-feed-rs" ,rust-feed-rs-0.6)
+        ("rust-feedbin-api" ,rust-feedbin-api-0.1)
+        ("rust-feedly-api" ,rust-feedly-api-0.4)
+        ("rust-fever-api" ,rust-fever-api-0.2)
+        ("rust-futures" ,rust-futures-0.3)
+        ("rust-hmac" ,rust-hmac-0.11)
+        ("rust-image" ,rust-image-0.23)
+        ("rust-itertools" ,rust-itertools-0.10)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-libxml" ,rust-libxml-0.3)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-magic-crypt" ,rust-magic-crypt-3)
+        ("rust-mime" ,rust-mime-0.3)
+        ("rust-mime-guess" ,rust-mime-guess-2)
+        ("rust-miniflux-api" ,rust-miniflux-api-0.3)
+        ("rust-newsblur-api" ,rust-newsblur-api-0.1)
+        ("rust-obfstr" ,rust-obfstr-0.3)
+        ("rust-opml" ,rust-opml-1)
+        ("rust-parking-lot" ,rust-parking-lot-0.11)
+        ("rust-rayon" ,rust-rayon-1)
+        ("rust-regex" ,rust-regex-1)
+        ("rust-reqwest" ,rust-reqwest-0.11)
+        ("rust-rust-embed" ,rust-rust-embed-5)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-derive" ,rust-serde-derive-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-sha-1" ,rust-sha-1-0.9)
+        ("rust-url" ,rust-url-2))
+       #:cargo-development-inputs
+       (("rust-tempfile" ,rust-tempfile-3)
+        ("rust-tokio" ,rust-tokio-1))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("libxml2" ,libxml2)
+       ("openssl" ,openssl)
+       ("sqlite" ,sqlite)))
+    (home-page "https://gitlab.com/news-flash/news_flash")
+    (synopsis "Base library for NewsFlash")
+    (description "This package provides the base library for the NewsFlash
+feed reader.")
+    ;; No copyright headers in the source code.  LICENSE indicates gpl3.
+    (license license:gpl3)))
+
 (define-public rust-newsblur-api-0.1
   (package
     (name "rust-newsblur-api")
-- 
2.30.2





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

* bug#50662: [PATCH 00/34] Add NewsFlash base library.
  2021-09-18 16:11 [bug#50662] [PATCH 00/34] Add NewsFlash base library Vinicius Monego
  2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
  2021-09-18 17:03 ` [bug#50662] [PATCH v2 21/34] gnu: Add rust-diesel-migrations-1 Vinicius Monego
@ 2021-11-03 12:31 ` Nicolas Goaziou
  2 siblings, 0 replies; 50+ messages in thread
From: Nicolas Goaziou @ 2021-11-03 12:31 UTC (permalink / raw)
  To: Vinicius Monego; +Cc: 50662-done

Hello,

Vinicius Monego <monego@posteo.net> writes:

> This patchset adds the base library for the NewsFlash GTK feed reader.

Applied. Thank you!

Regards,
-- 
Nicolas Goaziou




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

end of thread, other threads:[~2021-11-03 12:32 UTC | newest]

Thread overview: 50+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-18 16:11 [bug#50662] [PATCH 00/34] Add NewsFlash base library Vinicius Monego
2021-09-18 16:13 ` [bug#50662] [PATCH 01/34] gnu: Add rust-barrel-0.6 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 02/34] gnu: Add rust-strong-xml-derive-0.6 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 03/34] gnu: Add rust-debug-helper-0.3 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 04/34] gnu: Add rust-obfstr-0.3 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 05/34] gnu: Add rust-des-0.6 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 06/34] gnu: Add rust-entities-1 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 07/34] gnu: Add rust-escaper-0.1 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 08/34] gnu: Add rust-crc-any-2 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 09/34] gnu: Add rust-tiger-0.1 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 10/34] gnu: Add rust-libxml-0.3 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 11/34] gnu: Add rust-libxml-0.2 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 12/34] gnu: Add rust-article-scraper-1 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 13/34] gnu: Add rust-feed-rs-0.6 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 14/34] gnu: Add rust-feedbin-api-0.1 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 15/34] gnu: Add rust-feedly-api-0.4 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 16/34] gnu: Add rust-fever-api-0.2 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 17/34] gnu: Add rust-miniflux-api-0.3 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 18/34] gnu: Add rust-newsblur-api-0.1 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 19/34] gnu: Add rust-migrations-internals-1 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 20/34] gnu: Add rust-migrations-macros-1 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 21/34] gnu: Add rust-diesel-migrations-1 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 22/34] gnu: Add rust-rand-xorshift-0.3 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 23/34] gnu: Add rust-region-2 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 24/34] gnu: rust-x86-0.33: Fix version requirement Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 25/34] gnu: Add rust-proptest-1 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 26/34] gnu: Add rust-jetscii-0.5 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 27/34] gnu: Add rust-strong-xml-0.6 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 28/34] gnu: Add rust-opml-1 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 29/34] gnu: Add rust-aes-soft-0.6 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 30/34] gnu: Add rust-aesni-0.10 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 31/34] gnu: Add rust-aes-0.6 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 32/34] gnu: Add rust-block-modes-0.7 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 33/34] gnu: Add rust-magic-crypt-3 Vinicius Monego
2021-09-18 16:13   ` [bug#50662] [PATCH 34/34] gnu: Add rust-news-flash-1 Vinicius Monego
2021-09-18 17:03 ` [bug#50662] [PATCH v2 21/34] gnu: Add rust-diesel-migrations-1 Vinicius Monego
2021-09-18 17:03   ` [bug#50662] [PATCH v2 22/34] gnu: Add rust-rand-xorshift-0.3 Vinicius Monego
2021-09-18 17:03   ` [bug#50662] [PATCH v2 23/34] gnu: Add rust-region-2 Vinicius Monego
2021-09-18 17:03   ` [bug#50662] [PATCH v2 24/34] gnu: rust-x86-0.33: Fix version requirement Vinicius Monego
2021-09-18 17:03   ` [bug#50662] [PATCH v2 25/34] gnu: Add rust-proptest-1 Vinicius Monego
2021-09-18 17:03   ` [bug#50662] [PATCH v2 26/34] gnu: Add rust-jetscii-0.5 Vinicius Monego
2021-09-18 17:03   ` [bug#50662] [PATCH v2 27/34] gnu: Add rust-strong-xml-0.6 Vinicius Monego
2021-09-18 17:03   ` [bug#50662] [PATCH v2 28/34] gnu: Add rust-opml-1 Vinicius Monego
2021-09-18 17:03   ` [bug#50662] [PATCH v2 29/34] gnu: Add rust-aes-soft-0.6 Vinicius Monego
2021-09-18 17:03   ` [bug#50662] [PATCH v2 30/34] gnu: Add rust-aesni-0.10 Vinicius Monego
2021-09-18 17:03   ` [bug#50662] [PATCH v2 31/34] gnu: Add rust-aes-0.6 Vinicius Monego
2021-09-18 17:03   ` [bug#50662] [PATCH v2 32/34] gnu: Add rust-block-modes-0.7 Vinicius Monego
2021-09-18 17:03   ` [bug#50662] [PATCH v2 33/34] gnu: Add rust-magic-crypt-3 Vinicius Monego
2021-09-18 17:03   ` [bug#50662] [PATCH v2 34/34] gnu: Add rust-news-flash-1 Vinicius Monego
2021-11-03 12:31 ` bug#50662: [PATCH 00/34] Add NewsFlash base library 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).