all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#50368] [PATCH 1/9] gnu: rust-multipart-0.17: Fix inputs.
@ 2021-09-04  8:46 phodina via Guix-patches via
  2021-09-04  8:58 ` [bug#50368] [PATCH 2/9] gnu: Add rust-multipart-0.18 phodina via Guix-patches via
                   ` (16 more replies)
  0 siblings, 17 replies; 30+ messages in thread
From: phodina via Guix-patches via @ 2021-09-04  8:46 UTC (permalink / raw)
  To: 50368

* gnu/packages/crates-io.scm
  (rust-multipart-0.17)[cargo-development-inputs]: Add rust-env-log-0.4.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 087ffa1d27..605106f9fa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27398,7 +27398,9 @@ a default trait implementation you've defined.")
         ("rust-safemem" ,rust-safemem-0.3)
         ("rust-tempfile" ,rust-tempfile-3)
         ("rust-tiny-http" ,rust-tiny-http-0.6)
-        ("rust-twoway" ,rust-twoway-0.1))))
+        ("rust-twoway" ,rust-twoway-0.1))
+       #:cargo-development-inputs
+       (("rust-env-logger" ,rust-env-logger-0.5))))
     (home-page "https://github.com/abonander/multipart")
     (synopsis
      "Backend-agnostic extension for file uploads in HTTP libraries for Rust")
--
2.32.0




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

* [bug#50368] [PATCH 2/9] gnu: Add rust-multipart-0.18.
  2021-09-04  8:46 [bug#50368] [PATCH 1/9] gnu: rust-multipart-0.17: Fix inputs phodina via Guix-patches via
@ 2021-09-04  8:58 ` phodina via Guix-patches via
  2021-09-04 19:10   ` Xinglu Chen
  2021-09-04  8:59 ` [bug#50368] [PATCH 3/9] gnu: rust-base64-0.13: Fix inputs phodina via Guix-patches via
                   ` (15 subsequent siblings)
  16 siblings, 1 reply; 30+ messages in thread
From: phodina via Guix-patches via @ 2021-09-04  8:58 UTC (permalink / raw)
  To: 50368@debbugs.gnu.org

* gnu/packages/crates-io.scm (rust-multipart-0.18): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 605106f9fa..2cd07b513c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27367,21 +27367,22 @@ which defines a default trait implementation, and @code{trait_impl} which uses
 a default trait implementation you've defined.")
     (license license:lgpl2.1+)))

-(define-public rust-multipart-0.17
+(define-public rust-multipart-0.18
   (package
     (name "rust-multipart")
-    (version "0.17.1")
+    (version "0.18.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "multipart" version))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1m3nrydgc56wjixsahipmvjgnxnw2cz7w8ryghsgahwjr3nswl6h"))))
+        (base32
+         "10libwfbazqcyxcpgpcdf1a66jnzghwlmxlxnffg4rrqhqrwdph0"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
+     `(#:cargo-inputs
        (("rust-buf-redux" ,rust-buf-redux-0.8)
         ("rust-clippy" ,rust-clippy-0.0)
         ("rust-httparse" ,rust-httparse-1)
@@ -27393,7 +27394,7 @@ a default trait implementation you've defined.")
         ("rust-mime-guess" ,rust-mime-guess-2)
         ("rust-nickel" ,rust-nickel-0.11)
         ("rust-quick-error" ,rust-quick-error-1)
-        ("rust-rand" ,rust-rand-0.7)
+        ("rust-rand" ,rust-rand-0.8)
         ("rust-rocket" ,rust-rocket-0.4)
         ("rust-safemem" ,rust-safemem-0.3)
         ("rust-tempfile" ,rust-tempfile-3)
@@ -27401,7 +27402,8 @@ a default trait implementation you've defined.")
         ("rust-twoway" ,rust-twoway-0.1))
        #:cargo-development-inputs
        (("rust-env-logger" ,rust-env-logger-0.5))))
-    (home-page "https://github.com/abonander/multipart")
+    (home-page
+     "https://github.com/abonander/multipart")
     (synopsis
      "Backend-agnostic extension for file uploads in HTTP libraries for Rust")
     (description
@@ -27410,6 +27412,41 @@ that provides support for POST multipart/form-data requests on both client and
 server.")
     (license (list license:expat license:asl2.0))))

+(define-public rust-multipart-0.17
+  (package
+    (inherit rust-multipart-0.18)
+    (name "rust-multipart")
+    (version "0.17.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "multipart" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1m3nrydgc56wjixsahipmvjgnxnw2cz7w8ryghsgahwjr3nswl6h"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-buf-redux" ,rust-buf-redux-0.8)
+        ("rust-clippy" ,rust-clippy-0.0)
+        ("rust-httparse" ,rust-httparse-1)
+        ("rust-hyper" ,rust-hyper-0.10)
+        ("rust-iron" ,rust-iron-0.6)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-mime" ,rust-mime-0.3)
+        ("rust-mime-guess" ,rust-mime-guess-2)
+        ("rust-nickel" ,rust-nickel-0.11)
+        ("rust-quick-error" ,rust-quick-error-1)
+        ("rust-rand" ,rust-rand-0.7)
+        ("rust-rocket" ,rust-rocket-0.4)
+        ("rust-safemem" ,rust-safemem-0.3)
+        ("rust-tempfile" ,rust-tempfile-3)
+        ("rust-tiny-http" ,rust-tiny-http-0.6)
+        ("rust-twoway" ,rust-twoway-0.1))
+       #:cargo-development-inputs
+        (("rust-env-logger" ,rust-env-logger-0.5))))))
+
 (define-public rust-multiversion-0.6
   (package
     (name "rust-multiversion")
--
2.32.0




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

* [bug#50368] [PATCH 3/9] gnu: rust-base64-0.13: Fix inputs.
  2021-09-04  8:46 [bug#50368] [PATCH 1/9] gnu: rust-multipart-0.17: Fix inputs phodina via Guix-patches via
  2021-09-04  8:58 ` [bug#50368] [PATCH 2/9] gnu: Add rust-multipart-0.18 phodina via Guix-patches via
@ 2021-09-04  8:59 ` phodina via Guix-patches via
  2021-09-04 19:13   ` Xinglu Chen
  2021-09-04  9:01 ` [bug#50368] [PATCH 4/9] gnu: Add rust-noise-0.7 phodina via Guix-patches via
                   ` (14 subsequent siblings)
  16 siblings, 1 reply; 30+ messages in thread
From: phodina via Guix-patches via @ 2021-09-04  8:59 UTC (permalink / raw)
  To: 50368@debbugs.gnu.org

    * gnu/packages/crates-io.scm
      (rust-base64-0.13)[cargo-development-inputs]: Substitute rust-criterion version 0.3.2 to 0.3.3.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2cd07b513c..3bcd20b9be 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4110,7 +4110,13 @@ c6e7d37.  However, this package works only up to 128 bytes.")
        #:cargo-development-inputs
        (("rust-criterion" ,rust-criterion-0.3)
         ("rust-rand" ,rust-rand-0.6)
-        ("rust-structopt" ,rust-structopt-0.3))))
+        ("rust-structopt" ,rust-structopt-0.3))
+       #:phases
+        (modify-phases %standard-phases
+         (add-after 'unpack 'fix-criterion-minor-version
+          (lambda* _
+           (substitute* "Cargo.toml"
+            (("0.3.2") "0.3.3")))))))
     (home-page "https://github.com/marshallpierce/rust-base64")
     (synopsis "Encodes and decodes base64 as bytes or utf8")
     (description
--
2.32.0




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

* [bug#50368] [PATCH 4/9] gnu: Add rust-noise-0.7.
  2021-09-04  8:46 [bug#50368] [PATCH 1/9] gnu: rust-multipart-0.17: Fix inputs phodina via Guix-patches via
  2021-09-04  8:58 ` [bug#50368] [PATCH 2/9] gnu: Add rust-multipart-0.18 phodina via Guix-patches via
  2021-09-04  8:59 ` [bug#50368] [PATCH 3/9] gnu: rust-base64-0.13: Fix inputs phodina via Guix-patches via
@ 2021-09-04  9:01 ` phodina via Guix-patches via
  2021-09-04 19:17   ` Xinglu Chen
  2021-09-04  9:02 ` [bug#50368] [PATCH 5/9] gnu: rust-deflate: Update to 0.9.1 phodina via Guix-patches via
                   ` (13 subsequent siblings)
  16 siblings, 1 reply; 30+ messages in thread
From: phodina via Guix-patches via @ 2021-09-04  9:01 UTC (permalink / raw)
  To: 50368@debbugs.gnu.org

* gnu/packages/crates-io.scm (rust-noise-0.7): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3bcd20b9be..3df14a1d6d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29108,6 +29108,34 @@ with all line endings.")
       "Cross-platform filesystem notification library")
     (license (list license:cc0 license:artistic2.0))))

+(define-public rust-noise-0.7
+  (package
+    (name "rust-noise")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "noise" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0hsbw9gpsz8w9msvyvddygagd9wj93hqpg5pxz388laxfkb1s1c2"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-image" ,rust-image-0.23)
+        ("rust-rand" ,rust-rand-0.7)
+        ("rust-rand-xorshift" ,rust-rand-xorshift-0.2))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.3))))
+    (home-page
+     "https://github.com/razaekel/noise-rs")
+    (synopsis "Procedural noise generation library")
+    (description
+     "Procedural noise generation library.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-notify-4
   (package
     (inherit rust-notify-5)
--
2.32.0




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

* [bug#50368] [PATCH 5/9] gnu: rust-deflate: Update to 0.9.1.
  2021-09-04  8:46 [bug#50368] [PATCH 1/9] gnu: rust-multipart-0.17: Fix inputs phodina via Guix-patches via
                   ` (2 preceding siblings ...)
  2021-09-04  9:01 ` [bug#50368] [PATCH 4/9] gnu: Add rust-noise-0.7 phodina via Guix-patches via
@ 2021-09-04  9:02 ` phodina via Guix-patches via
  2021-09-04 19:21   ` Xinglu Chen
  2021-09-04  9:03 ` [bug#50368] [PATCH 6/9] gnu: Add rust-libloading-0.7 phodina via Guix-patches via
                   ` (12 subsequent siblings)
  16 siblings, 1 reply; 30+ messages in thread
From: phodina via Guix-patches via @ 2021-09-04  9:02 UTC (permalink / raw)
  To: 50368@debbugs.gnu.org

* gnu/packages/crates-io.scm (rust-deflate): Update to 0.9.1.
[cargo-inputs]: Remove rust-byteorder-1.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3df14a1d6d..e0b36cef51 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12611,10 +12611,10 @@ type.")
 thread.")
     (license license:mpl2.0)))

-(define-public rust-deflate-0.8
+(define-public rust-deflate-0.9
   (package
     (name "rust-deflate")
-    (version "0.8.6")
+    (version "0.9.1")
     (source
       (origin
         (method url-fetch)
@@ -12623,13 +12623,12 @@ thread.")
          (string-append name "-" version ".tar.gz"))
         (sha256
          (base32
-          "0x6iqlayg129w63999kz97m279m0jj4x4sm6gkqlvmp73y70yxvk"))))
+          "0w0ww0hrq4bjnihxgbnrri4lj5c8yzg31fyzx36fd9pvvw2vz5az"))))
     (build-system cargo-build-system)
     (arguments
      `(#:tests? #f      ; not all test files included
        #:cargo-inputs
        (("rust-adler32" ,rust-adler32-1)
-        ("rust-byteorder" ,rust-byteorder-1)
         ("rust-gzip-header" ,rust-gzip-header-0.3))
        #:cargo-development-inputs
        (("rust-miniz-oxide" ,rust-miniz-oxide-0.3))))
@@ -12639,9 +12638,32 @@ thread.")
      "This package provides a DEFLATE, zlib and gzip encoder written in rust.")
     (license (list license:expat license:asl2.0))))

+(define-public rust-deflate-0.8
+  (package
+    (inherit rust-deflate-0.9)
+    (name "rust-deflate")
+    (version "0.8.6")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "deflate" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0x6iqlayg129w63999kz97m279m0jj4x4sm6gkqlvmp73y70yxvk"))))
+    (arguments
+     `(#:tests? #f      ; not all test files included
+       #:cargo-inputs
+         (("rust-adler32" ,rust-adler32-1)
+          ("rust-byteorder" ,rust-byteorder-1)
+          ("rust-gzip-header" ,rust-gzip-header-0.3))
+       #:cargo-development-inputs
+         (("rust-miniz-oxide" ,rust-miniz-oxide-0.3))))))
+
 (define-public rust-deflate-0.7
   (package
-    (inherit rust-deflate-0.8)
+    (inherit rust-deflate-0.9)
     (name "rust-deflate")
     (version "0.7.20")
     (source
--
2.32.0




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

* [bug#50368] [PATCH 6/9] gnu: Add rust-libloading-0.7.
  2021-09-04  8:46 [bug#50368] [PATCH 1/9] gnu: rust-multipart-0.17: Fix inputs phodina via Guix-patches via
                   ` (3 preceding siblings ...)
  2021-09-04  9:02 ` [bug#50368] [PATCH 5/9] gnu: rust-deflate: Update to 0.9.1 phodina via Guix-patches via
@ 2021-09-04  9:03 ` phodina via Guix-patches via
  2021-09-04 19:23   ` Xinglu Chen
  2021-09-04  9:04 ` [bug#50368] [PATCH 7/9] gnu: Add rust-fdlimit-0.1 phodina via Guix-patches via
                   ` (11 subsequent siblings)
  16 siblings, 1 reply; 30+ messages in thread
From: phodina via Guix-patches via @ 2021-09-04  9:03 UTC (permalink / raw)
  To: 50368@debbugs.gnu.org

* gnu/packages/crates-io.scm (rust-libloading-0.7): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e0b36cef51..6f82d15cbe 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24315,6 +24315,37 @@ loading utilities.")
      `(("rust-cfg-if" ,rust-cfg-if-1)
        ("rust-winapi" ,rust-winapi-0.3)))))

+(define-public rust-libloading-0.7
+  (package
+    (name "rust-libloading")
+    (version "0.7.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "libloading" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0sidr67nsa693mqrqgk2np3bkqni0778yk147xncspy171jdk13g"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-cfg-if" ,rust-cfg-if-1)
+         ("rust-winapi" ,rust-winapi-0.3))
+        #:cargo-development-inputs
+        (("rust-libc" ,rust-libc-0.2)
+         ("rust-static-assertions"
+          ,rust-static-assertions-1))))
+    (home-page
+      "https://github.com/nagisa/rust_libloading/")
+    (synopsis
+      "Safer binding to platformâ\x80\x99s dynamic library loading utilities")
+    (description
+      "This package provides a safer binding to platformâ\x80\x99s dynamic
+library loading utilities")
+    (license license:isc)))
+
 (define-public rust-libloading-0.5
   (package
     (name "rust-libloading")
--
2.32.0




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

* [bug#50368] [PATCH 7/9] gnu: Add rust-fdlimit-0.1.
  2021-09-04  8:46 [bug#50368] [PATCH 1/9] gnu: rust-multipart-0.17: Fix inputs phodina via Guix-patches via
                   ` (4 preceding siblings ...)
  2021-09-04  9:03 ` [bug#50368] [PATCH 6/9] gnu: Add rust-libloading-0.7 phodina via Guix-patches via
@ 2021-09-04  9:04 ` phodina via Guix-patches via
  2021-09-04 19:26   ` Xinglu Chen
  2021-09-04  9:05 ` [bug#50368] [PATCH 8/9] gnu: Add rust-chunked-tansfer-1 phodina via Guix-patches via
                   ` (10 subsequent siblings)
  16 siblings, 1 reply; 30+ messages in thread
From: phodina via Guix-patches via @ 2021-09-04  9:04 UTC (permalink / raw)
  To: 50368@debbugs.gnu.org

* gnu/packages/crates-io.scm (rust-fdlimit-0.1): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6f82d15cbe..c77c8c87d1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16020,6 +16020,33 @@ it.")
        (("rust-libc" ,rust-libc-0.2)
         ("rust-winapi" ,rust-winapi-0.3))))))

+(define-public rust-fdlimit-0.1
+  (package
+    (name "rust-fdlimit")
+    (version "0.1.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "fdlimit" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0g30d6gqkrwy8ylwdy7pqm443iq0p5dmnpz4ks41pirl7dclm98d"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build?
+       #t
+       #:cargo-inputs
+       (("rust-libc" ,rust-libc-0.2))))
+    (home-page
+     "https://github.com/paritytech/fdlimit")
+    (synopsis
+     "Utility crate for raising file descriptors limit for OSX and Linux")
+    (description
+     "Utility crate for raising file descriptors limit for OSX and Linux")
+    (license license:asl2.0)))
+
 (define-public rust-femme-2
   (package
     (name "rust-femme")
--
2.32.0




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

* [bug#50368] [PATCH 8/9] gnu: Add rust-chunked-tansfer-1.
  2021-09-04  8:46 [bug#50368] [PATCH 1/9] gnu: rust-multipart-0.17: Fix inputs phodina via Guix-patches via
                   ` (5 preceding siblings ...)
  2021-09-04  9:04 ` [bug#50368] [PATCH 7/9] gnu: Add rust-fdlimit-0.1 phodina via Guix-patches via
@ 2021-09-04  9:05 ` phodina via Guix-patches via
  2021-09-04 19:27   ` Xinglu Chen
  2021-09-04  9:06 ` [bug#50368] [PATCH 9/9] gnu: Add rust-tiny-http-0.8 phodina via Guix-patches via
                   ` (9 subsequent siblings)
  16 siblings, 1 reply; 30+ messages in thread
From: phodina via Guix-patches via @ 2021-09-04  9:05 UTC (permalink / raw)
  To: 50368@debbugs.gnu.org

* gnu/packages/crates-io.scm (rust-chunked-transfer-1): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c77c8c87d1..9c331c7140 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7890,17 +7890,19 @@ Python arrow.humanize.")
 TimeZone trait for @code{rust-chrono}.")
     (license (list license:expat license:asl2.0))))

-(define-public rust-chunked-transfer-0.3
+(define-public rust-chunked-transfer-1
   (package
     (name "rust-chunked-transfer")
-    (version "0.3.1")
+    (version "1.4.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "chunked_transfer" version))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "11yghnd24w0i9p8g368c3pg7qh9nfz7kgri6pywja9pnmakj13a9"))))
+        (base32
+         "0bkdlsrszfcscw3j6yhs7kj6jbp8id47jjk6h9k58px47na5gy7z"))))
     (build-system cargo-build-system)
     (arguments `(#:skip-build? #t))
     (home-page "https://github.com/frewsxcv/rust-chunked-transfer")
@@ -7910,6 +7912,19 @@ TimeZone trait for @code{rust-chrono}.")
 coding.")
     (license license:asl2.0)))

+(define-public rust-chunked-transfer-0.3
+  (package
+    (inherit rust-chunked-transfer-1)
+    (name "rust-chunked-transfer")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "chunked_transfer" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "11yghnd24w0i9p8g368c3pg7qh9nfz7kgri6pywja9pnmakj13a9"))))))
+
 (define-public rust-ci-info-0.3
   (package
     (name "rust-ci-info")
--
2.32.0




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

* [bug#50368] [PATCH 9/9] gnu: Add rust-tiny-http-0.8.
  2021-09-04  8:46 [bug#50368] [PATCH 1/9] gnu: rust-multipart-0.17: Fix inputs phodina via Guix-patches via
                   ` (6 preceding siblings ...)
  2021-09-04  9:05 ` [bug#50368] [PATCH 8/9] gnu: Add rust-chunked-tansfer-1 phodina via Guix-patches via
@ 2021-09-04  9:06 ` phodina via Guix-patches via
  2021-09-04 19:32   ` Xinglu Chen
  2021-09-15 19:16 ` [bug#50368] [PATCH v2 2/9] gnu: Add rust-multipart-0.18 phodina via Guix-patches via
                   ` (8 subsequent siblings)
  16 siblings, 1 reply; 30+ messages in thread
From: phodina via Guix-patches via @ 2021-09-04  9:06 UTC (permalink / raw)
  To: 50368@debbugs.gnu.org

* gnu/packages/crates-io.scm (rust-tiny-http-0.8): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9c331c7140..68a3f79353 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49233,8 +49233,43 @@ closures after a delay or at a given timestamp.")
 manipulation in Rust.")
     (license license:expat)))

+(define-public rust-tiny-http-0.8
+  (package
+    (name "rust-tiny-http")
+    (version "0.8.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tiny-http" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0fcdwpb2ghk671qjjrk6048hs3yp7f681hxpr68gamk00181prcw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-ascii" ,rust-ascii-1)
+        ("rust-chrono" ,rust-chrono-0.4)
+        ("rust-chunked-transfer"
+         ,rust-chunked-transfer-1)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-openssl" ,rust-openssl-0.10)
+        ("rust-url" ,rust-url-2))
+       #:cargo-development-inputs
+       (("rust-fdlimit" ,rust-fdlimit-0.1)
+        ("rust-rustc-serialize"
+         ,rust-rustc-serialize-0.3)
+        ("rust-sha1" ,rust-sha1-0.6))))
+    (home-page
+     "https://github.com/tiny-http/tiny-http")
+    (synopsis "Low level HTTP server library")
+    (description "This package provides a low level HTTP server library.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-tiny-http-0.6
   (package
+    (inherit rust-tiny-http-0.8)
     (name "rust-tiny-http")
     (version "0.6.2")
     (source
@@ -49244,7 +49279,6 @@ manipulation in Rust.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0la95daknfh8g951ddb2zdz6av2459rncp6h9dh02pf98h5glq8n"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
@@ -49253,11 +49287,7 @@ manipulation in Rust.")
         ("rust-chunked-transfer" ,rust-chunked-transfer-0.3)
         ("rust-log" ,rust-log-0.4)
         ("rust-openssl" ,rust-openssl-0.10)
-        ("rust-url" ,rust-url-1))))
-    (home-page "https://github.com/tiny-http/tiny-http")
-    (synopsis "Low level HTTP server library")
-    (description "This package provides a low level HTTP server library.")
-    (license license:asl2.0)))
+        ("rust-url" ,rust-url-1))))))

 (define-public rust-tiny-keccak-2
   (package
--
2.32.0




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

* [bug#50368] [PATCH 2/9] gnu: Add rust-multipart-0.18.
  2021-09-04  8:58 ` [bug#50368] [PATCH 2/9] gnu: Add rust-multipart-0.18 phodina via Guix-patches via
@ 2021-09-04 19:10   ` Xinglu Chen
  0 siblings, 0 replies; 30+ messages in thread
From: Xinglu Chen @ 2021-09-04 19:10 UTC (permalink / raw)
  To: phodina, 50368@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 2436 bytes --]

On Sat, Sep 04 2021, phodina via Guix-patches via wrote:

> * gnu/packages/crates-io.scm (rust-multipart-0.18): New variable.

‘rust-multipart-0.17’ should also be mentioned here.  Maybe

  (rust-multipart-0.17): Inherit from ‘rust-multipart-0.18’.

?

> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 605106f9fa..2cd07b513c 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -27367,21 +27367,22 @@ which defines a default trait implementation, and @code{trait_impl} which uses
>  a default trait implementation you've defined.")
>      (license license:lgpl2.1+)))
>
> -(define-public rust-multipart-0.17
> +(define-public rust-multipart-0.18
>    (package
>      (name "rust-multipart")
> -    (version "0.17.1")
> +    (version "0.18.0")
>      (source
>       (origin
>         (method url-fetch)
>         (uri (crate-uri "multipart" version))
> -       (file-name (string-append name "-" version ".tar.gz"))
> +       (file-name
> +        (string-append name "-" version ".tar.gz"))

Why is this necessary?

>         (sha256
> -        (base32 "1m3nrydgc56wjixsahipmvjgnxnw2cz7w8ryghsgahwjr3nswl6h"))))
> +        (base32
> +         "10libwfbazqcyxcpgpcdf1a66jnzghwlmxlxnffg4rrqhqrwdph0"))))
>      (build-system cargo-build-system)
>      (arguments
> -     `(#:skip-build? #t
> -       #:cargo-inputs
> +     `(#:cargo-inputs
>         (("rust-buf-redux" ,rust-buf-redux-0.8)
>          ("rust-clippy" ,rust-clippy-0.0)
>          ("rust-httparse" ,rust-httparse-1)
> @@ -27393,7 +27394,7 @@ a default trait implementation you've defined.")
>          ("rust-mime-guess" ,rust-mime-guess-2)
>          ("rust-nickel" ,rust-nickel-0.11)
>          ("rust-quick-error" ,rust-quick-error-1)
> -        ("rust-rand" ,rust-rand-0.7)
> +        ("rust-rand" ,rust-rand-0.8)
>          ("rust-rocket" ,rust-rocket-0.4)
>          ("rust-safemem" ,rust-safemem-0.3)
>          ("rust-tempfile" ,rust-tempfile-3)
> @@ -27401,7 +27402,8 @@ a default trait implementation you've defined.")
>          ("rust-twoway" ,rust-twoway-0.1))
>         #:cargo-development-inputs
>         (("rust-env-logger" ,rust-env-logger-0.5))))
> -    (home-page "https://github.com/abonander/multipart")
> +    (home-page
> +     "https://github.com/abonander/multipart")

Please avoid these kind of formatting changes.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

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

* [bug#50368] [PATCH 3/9] gnu: rust-base64-0.13: Fix inputs.
  2021-09-04  8:59 ` [bug#50368] [PATCH 3/9] gnu: rust-base64-0.13: Fix inputs phodina via Guix-patches via
@ 2021-09-04 19:13   ` Xinglu Chen
  0 siblings, 0 replies; 30+ messages in thread
From: Xinglu Chen @ 2021-09-04 19:13 UTC (permalink / raw)
  To: phodina, 50368@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 1167 bytes --]

On Sat, Sep 04 2021, phodina via Guix-patches via wrote:

>     * gnu/packages/crates-io.scm
>       (rust-base64-0.13)[cargo-development-inputs]: Substitute rust-criterion version 0.3.2 to 0.3.3.

It should be [arguments]<#:phases>.  Please keep lines to <80 characters long.

> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 2cd07b513c..3bcd20b9be 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -4110,7 +4110,13 @@ c6e7d37.  However, this package works only up to 128 bytes.")
>         #:cargo-development-inputs
>         (("rust-criterion" ,rust-criterion-0.3)
>          ("rust-rand" ,rust-rand-0.6)
> -        ("rust-structopt" ,rust-structopt-0.3))))
> +        ("rust-structopt" ,rust-structopt-0.3))
> +       #:phases
> +        (modify-phases %standard-phases
> +         (add-after 'unpack 'fix-criterion-minor-version
> +          (lambda* _
> +           (substitute* "Cargo.toml"
> +            (("0.3.2") "0.3.3")))))))
>      (home-page "https://github.com/marshallpierce/rust-base64")
>      (synopsis "Encodes and decodes base64 as bytes or utf8")
>      (description
> --
> 2.32.0

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

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

* [bug#50368] [PATCH 4/9] gnu: Add rust-noise-0.7.
  2021-09-04  9:01 ` [bug#50368] [PATCH 4/9] gnu: Add rust-noise-0.7 phodina via Guix-patches via
@ 2021-09-04 19:17   ` Xinglu Chen
  0 siblings, 0 replies; 30+ messages in thread
From: Xinglu Chen @ 2021-09-04 19:17 UTC (permalink / raw)
  To: phodina, 50368@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 1722 bytes --]

On Sat, Sep 04 2021, phodina via Guix-patches via wrote:

> * gnu/packages/crates-io.scm (rust-noise-0.7): New variable.
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 3bcd20b9be..3df14a1d6d 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -29108,6 +29108,34 @@ with all line endings.")
>        "Cross-platform filesystem notification library")
>      (license (list license:cc0 license:artistic2.0))))
>
> +(define-public rust-noise-0.7
> +  (package
> +    (name "rust-noise")
> +    (version "0.7.0")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (crate-uri "noise" version))
> +       (file-name
> +        (string-append name "-" version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "0hsbw9gpsz8w9msvyvddygagd9wj93hqpg5pxz388laxfkb1s1c2"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +     `(#:cargo-inputs
> +       (("rust-image" ,rust-image-0.23)
> +        ("rust-rand" ,rust-rand-0.7)
> +        ("rust-rand-xorshift" ,rust-rand-xorshift-0.2))
> +       #:cargo-development-inputs
> +       (("rust-criterion" ,rust-criterion-0.3))))
> +    (home-page
> +     "https://github.com/razaekel/noise-rs")

Nit: A newline isn’t necessary.

> +    (synopsis "Procedural noise generation library")
> +    (description
> +     "Procedural noise generation library.")

The description should consist of one or more complete sentences.  See
“16.4.4 Synopses and Descriptions” in the manual.  Maybe (based on the
README)

  This pakcage provides a Rust library to generate smoothly varying
  noise for textural use and graphical display.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

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

* [bug#50368] [PATCH 5/9] gnu: rust-deflate: Update to 0.9.1.
  2021-09-04  9:02 ` [bug#50368] [PATCH 5/9] gnu: rust-deflate: Update to 0.9.1 phodina via Guix-patches via
@ 2021-09-04 19:21   ` Xinglu Chen
  0 siblings, 0 replies; 30+ messages in thread
From: Xinglu Chen @ 2021-09-04 19:21 UTC (permalink / raw)
  To: phodina, 50368@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 2732 bytes --]

On Sat, Sep 04 2021, phodina via Guix-patches via wrote:

> * gnu/packages/crates-io.scm (rust-deflate): Update to 0.9.1.
> [cargo-inputs]: Remove rust-byteorder-1.

I suggest

  * gnu/packages/crates-io.scm (rust-deflate-0.9): New variable.
  (rust-deflate-0.8): Inherit from ‘rust-deflate-0.9’.
  (rust-deflate-0.7): Likewise.
  
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 3df14a1d6d..e0b36cef51 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -12611,10 +12611,10 @@ type.")
>  thread.")
>      (license license:mpl2.0)))
>
> -(define-public rust-deflate-0.8
> +(define-public rust-deflate-0.9
>    (package
>      (name "rust-deflate")
> -    (version "0.8.6")
> +    (version "0.9.1")
>      (source
>        (origin
>          (method url-fetch)
> @@ -12623,13 +12623,12 @@ thread.")
>           (string-append name "-" version ".tar.gz"))
>          (sha256
>           (base32
> -          "0x6iqlayg129w63999kz97m279m0jj4x4sm6gkqlvmp73y70yxvk"))))
> +          "0w0ww0hrq4bjnihxgbnrri4lj5c8yzg31fyzx36fd9pvvw2vz5az"))))
>      (build-system cargo-build-system)
>      (arguments
>       `(#:tests? #f      ; not all test files included
>         #:cargo-inputs
>         (("rust-adler32" ,rust-adler32-1)
> -        ("rust-byteorder" ,rust-byteorder-1)
>          ("rust-gzip-header" ,rust-gzip-header-0.3))
>         #:cargo-development-inputs
>         (("rust-miniz-oxide" ,rust-miniz-oxide-0.3))))
> @@ -12639,9 +12638,32 @@ thread.")
>       "This package provides a DEFLATE, zlib and gzip encoder written in rust.")
>      (license (list license:expat license:asl2.0))))
>
> +(define-public rust-deflate-0.8
> +  (package
> +    (inherit rust-deflate-0.9)
> +    (name "rust-deflate")
> +    (version "0.8.6")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (crate-uri "deflate" version))
> +        (file-name
> +          (string-append name "-" version ".tar.gz"))
> +        (sha256
> +         (base32
> +          "0x6iqlayg129w63999kz97m279m0jj4x4sm6gkqlvmp73y70yxvk"))))
> +    (arguments
> +     `(#:tests? #f      ; not all test files included
> +       #:cargo-inputs
> +         (("rust-adler32" ,rust-adler32-1)
> +          ("rust-byteorder" ,rust-byteorder-1)
> +          ("rust-gzip-header" ,rust-gzip-header-0.3))
> +       #:cargo-development-inputs
> +         (("rust-miniz-oxide" ,rust-miniz-oxide-0.3))))))
> +
>  (define-public rust-deflate-0.7
>    (package
> -    (inherit rust-deflate-0.8)
> +    (inherit rust-deflate-0.9)
>      (name "rust-deflate")
>      (version "0.7.20")
>      (source
> --
> 2.32.0

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

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

* [bug#50368] [PATCH 6/9] gnu: Add rust-libloading-0.7.
  2021-09-04  9:03 ` [bug#50368] [PATCH 6/9] gnu: Add rust-libloading-0.7 phodina via Guix-patches via
@ 2021-09-04 19:23   ` Xinglu Chen
  0 siblings, 0 replies; 30+ messages in thread
From: Xinglu Chen @ 2021-09-04 19:23 UTC (permalink / raw)
  To: phodina, 50368@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 1709 bytes --]

On Sat, Sep 04 2021, phodina via Guix-patches via wrote:

> * gnu/packages/crates-io.scm (rust-libloading-0.7): New variable.
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index e0b36cef51..6f82d15cbe 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -24315,6 +24315,37 @@ loading utilities.")
>       `(("rust-cfg-if" ,rust-cfg-if-1)
>         ("rust-winapi" ,rust-winapi-0.3)))))
>
> +(define-public rust-libloading-0.7
> +  (package
> +    (name "rust-libloading")
> +    (version "0.7.0")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (crate-uri "libloading" version))
> +        (file-name
> +          (string-append name "-" version ".tar.gz"))

Nit: Newline isn’t necessary.

> +        (sha256
> +          (base32
> +            "0sidr67nsa693mqrqgk2np3bkqni0778yk147xncspy171jdk13g"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +      `(#:cargo-inputs
> +        (("rust-cfg-if" ,rust-cfg-if-1)
> +         ("rust-winapi" ,rust-winapi-0.3))
> +        #:cargo-development-inputs
> +        (("rust-libc" ,rust-libc-0.2)
> +         ("rust-static-assertions"
> +          ,rust-static-assertions-1))))
> +    (home-page
> +      "https://github.com/nagisa/rust_libloading/")

Likewise.

> +    (synopsis
> +      "Safer binding to platformâ\x80\x99s dynamic library loading utilities")

“platformâ\x80\x99s” looks a bit cryptic, and isn’t mentioned anywhere
in the project README.

> +    (description
> +      "This package provides a safer binding to platformâ\x80\x99s dynamic
> +library loading utilities")

Likewise.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

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

* [bug#50368] [PATCH 7/9] gnu: Add rust-fdlimit-0.1.
  2021-09-04  9:04 ` [bug#50368] [PATCH 7/9] gnu: Add rust-fdlimit-0.1 phodina via Guix-patches via
@ 2021-09-04 19:26   ` Xinglu Chen
  0 siblings, 0 replies; 30+ messages in thread
From: Xinglu Chen @ 2021-09-04 19:26 UTC (permalink / raw)
  To: phodina, 50368@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 1559 bytes --]

On Sat, Sep 04 2021, phodina via Guix-patches via wrote:

> * gnu/packages/crates-io.scm (rust-fdlimit-0.1): New variable.
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 6f82d15cbe..c77c8c87d1 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -16020,6 +16020,33 @@ it.")
>         (("rust-libc" ,rust-libc-0.2)
>          ("rust-winapi" ,rust-winapi-0.3))))))
>
> +(define-public rust-fdlimit-0.1
> +  (package
> +    (name "rust-fdlimit")
> +    (version "0.1.4")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (crate-uri "fdlimit" version))
> +       (file-name
> +        (string-append name "-" version ".tar.gz"))

Nit: Newline isn’t necessary.

> +       (sha256
> +        (base32
> +         "0g30d6gqkrwy8ylwdy7pqm443iq0p5dmnpz4ks41pirl7dclm98d"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +     `(#:skip-build?
> +       #t
> +       #:cargo-inputs
> +       (("rust-libc" ,rust-libc-0.2))))
> +    (home-page
> +     "https://github.com/paritytech/fdlimit")

Likewise.

> +    (synopsis
> +     "Utility crate for raising file descriptors limit for OSX and Linux")

Guix isn’t doesn’t supprot OSX, therefore, I don’t think OSX support
needs to be 

> +    (description
> +     "Utility crate for raising file descriptors limit for OSX and Linux")

The description should consist of one or more complete sentences, see
“16.4.4 Synopses and Descriptions” for more details.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

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

* [bug#50368] [PATCH 8/9] gnu: Add rust-chunked-tansfer-1.
  2021-09-04  9:05 ` [bug#50368] [PATCH 8/9] gnu: Add rust-chunked-tansfer-1 phodina via Guix-patches via
@ 2021-09-04 19:27   ` Xinglu Chen
  0 siblings, 0 replies; 30+ messages in thread
From: Xinglu Chen @ 2021-09-04 19:27 UTC (permalink / raw)
  To: phodina, 50368@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 1038 bytes --]

On Sat, Sep 04 2021, phodina via Guix-patches via wrote:

> * gnu/packages/crates-io.scm (rust-chunked-transfer-1): New variable.

‘rust-chunked-transfer-0.3’ should also be mentioned in the ChangeLog.

> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index c77c8c87d1..9c331c7140 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -7890,17 +7890,19 @@ Python arrow.humanize.")
>  TimeZone trait for @code{rust-chrono}.")
>      (license (list license:expat license:asl2.0))))
>
> -(define-public rust-chunked-transfer-0.3
> +(define-public rust-chunked-transfer-1
>    (package
>      (name "rust-chunked-transfer")
> -    (version "0.3.1")
> +    (version "1.4.0")
>      (source
>       (origin
>         (method url-fetch)
>         (uri (crate-uri "chunked_transfer" version))
> -       (file-name (string-append name "-" version ".tar.gz"))
> +       (file-name
> +        (string-append name "-" version ".tar.gz"))

No need for newline.  :-)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

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

* [bug#50368] [PATCH 9/9] gnu: Add rust-tiny-http-0.8.
  2021-09-04  9:06 ` [bug#50368] [PATCH 9/9] gnu: Add rust-tiny-http-0.8 phodina via Guix-patches via
@ 2021-09-04 19:32   ` Xinglu Chen
  2021-09-05 13:10     ` phodina via Guix-patches via
  0 siblings, 1 reply; 30+ messages in thread
From: Xinglu Chen @ 2021-09-04 19:32 UTC (permalink / raw)
  To: phodina, 50368@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 2901 bytes --]

On Sat, Sep 04 2021, phodina via Guix-patches via wrote:

> * gnu/packages/crates-io.scm (rust-tiny-http-0.8): New variable.

‘rust-tiney-http-0.6’ should be mentioned in the ChangeLog.

> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 9c331c7140..68a3f79353 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -49233,8 +49233,43 @@ closures after a delay or at a given timestamp.")
>  manipulation in Rust.")
>      (license license:expat)))
>
> +(define-public rust-tiny-http-0.8
> +  (package
> +    (name "rust-tiny-http")
> +    (version "0.8.2")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (crate-uri "tiny-http" version))
> +       (file-name
> +        (string-append name "-" version ".tar.gz"))

Nit: No need for a newline.

> +       (sha256
> +        (base32
> +         "0fcdwpb2ghk671qjjrk6048hs3yp7f681hxpr68gamk00181prcw"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +     `(#:cargo-inputs
> +       (("rust-ascii" ,rust-ascii-1)
> +        ("rust-chrono" ,rust-chrono-0.4)
> +        ("rust-chunked-transfer"
> +         ,rust-chunked-transfer-1)
> +        ("rust-log" ,rust-log-0.4)
> +        ("rust-openssl" ,rust-openssl-0.10)
> +        ("rust-url" ,rust-url-2))
> +       #:cargo-development-inputs
> +       (("rust-fdlimit" ,rust-fdlimit-0.1)
> +        ("rust-rustc-serialize"
> +         ,rust-rustc-serialize-0.3)
> +        ("rust-sha1" ,rust-sha1-0.6))))
> +    (home-page
> +     "https://github.com/tiny-http/tiny-http")

Likewise.

> +    (synopsis "Low level HTTP server library")
> +    (description "This package provides a low level HTTP server library.")
> +    (license (list license:expat license:asl2.0))))
> +
>  (define-public rust-tiny-http-0.6
>    (package
> +    (inherit rust-tiny-http-0.8)
>      (name "rust-tiny-http")
>      (version "0.6.2")
>      (source
> @@ -49244,7 +49279,6 @@ manipulation in Rust.")
>         (file-name (string-append name "-" version ".tar.gz"))
>         (sha256
>          (base32 "0la95daknfh8g951ddb2zdz6av2459rncp6h9dh02pf98h5glq8n"))))
> -    (build-system cargo-build-system)
>      (arguments
>       `(#:skip-build? #t
>         #:cargo-inputs
> @@ -49253,11 +49287,7 @@ manipulation in Rust.")
>          ("rust-chunked-transfer" ,rust-chunked-transfer-0.3)
>          ("rust-log" ,rust-log-0.4)
>          ("rust-openssl" ,rust-openssl-0.10)
> -        ("rust-url" ,rust-url-1))))
> -    (home-page "https://github.com/tiny-http/tiny-http")
> -    (synopsis "Low level HTTP server library")
> -    (description "This package provides a low level HTTP server library.")
> -    (license license:asl2.0)))
> +        ("rust-url" ,rust-url-1))))))
>
>  (define-public rust-tiny-keccak-2
>    (package
> --
> 2.32.0

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

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

* [bug#50368] [PATCH 9/9] gnu: Add rust-tiny-http-0.8.
  2021-09-04 19:32   ` Xinglu Chen
@ 2021-09-05 13:10     ` phodina via Guix-patches via
  2021-09-05 13:48       ` Xinglu Chen
  0 siblings, 1 reply; 30+ messages in thread
From: phodina via Guix-patches via @ 2021-09-05 13:10 UTC (permalink / raw)
  To: Xinglu Chen; +Cc: 50368@debbugs.gnu.org

Hi Xinglu,

thanks for the hints. I'll fix them and sent new patches.

FIY the newlines are generated by the script in etc/indent-code.el. Is there some config to disable these newlines?

Petr




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

* [bug#50368] [PATCH 9/9] gnu: Add rust-tiny-http-0.8.
  2021-09-05 13:10     ` phodina via Guix-patches via
@ 2021-09-05 13:48       ` Xinglu Chen
  0 siblings, 0 replies; 30+ messages in thread
From: Xinglu Chen @ 2021-09-05 13:48 UTC (permalink / raw)
  To: phodina; +Cc: 50368@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 574 bytes --]

On Sun, Sep 05 2021, phodina via Guix-patches via wrote:

> Hi Xinglu,
>
> thanks for the hints. I'll fix them and sent new patches.

You are welcome!  :-)

> FIY the newlines are generated by the script in etc/indent-code.el. Is
> there some config to disable these newlines?

Are you sure about that?  I don’t use etc/indent-code.el, but it seems
to only untabify (replace tabs with spaces) and indent the package
definitions.  Its probably the importer itself that outputs those
newlines; I think that has to do with how the Guile pretty-printer
works.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

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

* [bug#50368] [PATCH v2 2/9] gnu: Add rust-multipart-0.18.
  2021-09-04  8:46 [bug#50368] [PATCH 1/9] gnu: rust-multipart-0.17: Fix inputs phodina via Guix-patches via
                   ` (7 preceding siblings ...)
  2021-09-04  9:06 ` [bug#50368] [PATCH 9/9] gnu: Add rust-tiny-http-0.8 phodina via Guix-patches via
@ 2021-09-15 19:16 ` phodina via Guix-patches via
  2021-09-15 19:17 ` [bug#50368] [PATCH v2 3/9] gnu: rust-base64-0.13: Fix inputs phodina via Guix-patches via
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 30+ messages in thread
From: phodina via Guix-patches via @ 2021-09-15 19:16 UTC (permalink / raw)
  To: 50368@debbugs.gnu.org

* gnu/packages/crates-io.scm (rust-multipart-0.18): New variable.
  (rust-multipart-0.17): Inherit from ‘rust-multipart-0.18’.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 04386ff354..fd93eb1e26 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27663,8 +27663,50 @@ which defines a default trait implementation, and @code{trait_impl} which uses
 a default trait implementation you've defined.")
     (license license:lgpl2.1+)))

+(define-public rust-multipart-0.18
+  (package
+    (name "rust-multipart")
+    (version "0.18.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "multipart" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "10libwfbazqcyxcpgpcdf1a66jnzghwlmxlxnffg4rrqhqrwdph0"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-buf-redux" ,rust-buf-redux-0.8)
+        ("rust-clippy" ,rust-clippy-0.0)
+        ("rust-httparse" ,rust-httparse-1)
+        ("rust-hyper" ,rust-hyper-0.10)
+        ("rust-iron" ,rust-iron-0.6)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-mime" ,rust-mime-0.3)
+        ("rust-mime-guess" ,rust-mime-guess-2)
+        ("rust-nickel" ,rust-nickel-0.11)
+        ("rust-quick-error" ,rust-quick-error-1)
+        ("rust-rand" ,rust-rand-0.8)
+        ("rust-rocket" ,rust-rocket-0.4)
+        ("rust-safemem" ,rust-safemem-0.3)
+        ("rust-tempfile" ,rust-tempfile-3)
+        ("rust-tiny-http" ,rust-tiny-http-0.6)
+        ("rust-twoway" ,rust-twoway-0.1))
+       #:cargo-development-inputs
+       (("rust-env-logger" ,rust-env-logger-0.5))))
+    (home-page "https://github.com/abonander/multipart")
+    (synopsis "Backend-agnostic extension for file uploads in HTTP libraries for Rust")
+    (description "This package provides a backend-agnostic extension for HTTP
+libraries that provides support for POST multipart/form-data requests on both
+client and server.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-multipart-0.17
   (package
+    (inherit rust-multipart-0.18)
     (name "rust-multipart")
     (version "0.17.1")
     (source
@@ -27674,7 +27716,6 @@ a default trait implementation you've defined.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1m3nrydgc56wjixsahipmvjgnxnw2cz7w8ryghsgahwjr3nswl6h"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
@@ -27696,15 +27737,7 @@ a default trait implementation you've defined.")
         ("rust-tiny-http" ,rust-tiny-http-0.6)
         ("rust-twoway" ,rust-twoway-0.1))
        #:cargo-development-inputs
-       (("rust-env-logger" ,rust-env-logger-0.5))))
-    (home-page "https://github.com/abonander/multipart")
-    (synopsis
-     "Backend-agnostic extension for file uploads in HTTP libraries for Rust")
-    (description
-     "This package provides a backend-agnostic extension for HTTP libraries
-that provides support for POST multipart/form-data requests on both client and
-server.")
-    (license (list license:expat license:asl2.0))))
+        (("rust-env-logger" ,rust-env-logger-0.5))))))

 (define-public rust-multiversion-0.6
   (package
--
2.32.0




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

* [bug#50368] [PATCH v2 3/9] gnu: rust-base64-0.13: Fix inputs.
  2021-09-04  8:46 [bug#50368] [PATCH 1/9] gnu: rust-multipart-0.17: Fix inputs phodina via Guix-patches via
                   ` (8 preceding siblings ...)
  2021-09-15 19:16 ` [bug#50368] [PATCH v2 2/9] gnu: Add rust-multipart-0.18 phodina via Guix-patches via
@ 2021-09-15 19:17 ` phodina via Guix-patches via
  2021-09-15 19:17 ` [bug#50368] [PATCH v2 4/9] gnu: Add rust-noise-0.7 phodina via Guix-patches via
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 30+ messages in thread
From: phodina via Guix-patches via @ 2021-09-15 19:17 UTC (permalink / raw)
  To: Xinglu Chen; +Cc: 50368@debbugs.gnu.org

* gnu/packages/crates-io.scm(rust-base64-0.13)[arguments]<#:phases>: Substitute
  rust-criterion version 0.3.2 to 0.3.3.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fd93eb1e26..2b44fa805b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4112,7 +4112,13 @@ c6e7d37.  However, this package works only up to 128 bytes.")
        #:cargo-development-inputs
        (("rust-criterion" ,rust-criterion-0.3)
         ("rust-rand" ,rust-rand-0.6)
-        ("rust-structopt" ,rust-structopt-0.3))))
+        ("rust-structopt" ,rust-structopt-0.3))
+       #:phases
+        (modify-phases %standard-phases
+         (add-after 'unpack 'fix-criterion-minor-version
+          (lambda* _
+           (substitute* "Cargo.toml"
+            (("0.3.2") "0.3.3")))))))
     (home-page "https://github.com/marshallpierce/rust-base64")
     (synopsis "Encodes and decodes base64 as bytes or utf8")
     (description
--
2.32.0




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

* [bug#50368] [PATCH v2 4/9] gnu: Add rust-noise-0.7.
  2021-09-04  8:46 [bug#50368] [PATCH 1/9] gnu: rust-multipart-0.17: Fix inputs phodina via Guix-patches via
                   ` (9 preceding siblings ...)
  2021-09-15 19:17 ` [bug#50368] [PATCH v2 3/9] gnu: rust-base64-0.13: Fix inputs phodina via Guix-patches via
@ 2021-09-15 19:17 ` phodina via Guix-patches via
  2021-09-15 19:18 ` [bug#50368] [PATCH v2 5/9] gnu: Add rust-deflate-0.9 phodina via Guix-patches via
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 30+ messages in thread
From: phodina via Guix-patches via @ 2021-09-15 19:17 UTC (permalink / raw)
  To: Xinglu Chen; +Cc: 50368@debbugs.gnu.org

* gnu/packages/crates-io.scm (rust-noise-0.7): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2b44fa805b..2a7040e06f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29428,6 +29428,32 @@ with all line endings.")
       "Cross-platform filesystem notification library")
     (license (list license:cc0 license:artistic2.0))))

+(define-public rust-noise-0.7
+  (package
+    (name "rust-noise")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "noise" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0hsbw9gpsz8w9msvyvddygagd9wj93hqpg5pxz388laxfkb1s1c2"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-image" ,rust-image-0.23)
+        ("rust-rand" ,rust-rand-0.7)
+        ("rust-rand-xorshift" ,rust-rand-xorshift-0.2))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.3))))
+    (home-page "https://github.com/razaekel/noise-rs")
+    (synopsis "Procedural noise generation library")
+    (description "This package provides a Rust library to generate smoothly
+varying noise for textural use and graphical display.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-notify-4
   (package
     (inherit rust-notify-5)
--
2.32.0




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

* [bug#50368] [PATCH v2 5/9] gnu: Add rust-deflate-0.9.
  2021-09-04  8:46 [bug#50368] [PATCH 1/9] gnu: rust-multipart-0.17: Fix inputs phodina via Guix-patches via
                   ` (10 preceding siblings ...)
  2021-09-15 19:17 ` [bug#50368] [PATCH v2 4/9] gnu: Add rust-noise-0.7 phodina via Guix-patches via
@ 2021-09-15 19:18 ` phodina via Guix-patches via
  2021-09-15 19:19 ` [bug#50368] [PATCH v2 6/9] gnu: Add rust-libloading-0.7 phodina via Guix-patches via
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 30+ messages in thread
From: phodina via Guix-patches via @ 2021-09-15 19:18 UTC (permalink / raw)
  To: Xinglu Chen; +Cc: 50368@debbugs.gnu.org

* gnu/packages/crates-io.scm (rust-deflate-0.9): New variable.
  (rust-deflate-0.8): Inherit from ‘rust-deflate-0.9’.
  (rust-deflate-0.7): Inherit from ‘rust-deflate-0.8‘.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2a7040e06f..107227b1ec 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12763,34 +12763,55 @@ type.")
 thread.")
     (license license:mpl2.0)))

-(define-public rust-deflate-0.8
+(define-public rust-deflate-0.9
   (package
     (name "rust-deflate")
-    (version "0.8.6")
+    (version "0.9.1")
     (source
       (origin
         (method url-fetch)
         (uri (crate-uri "deflate" version))
-        (file-name
-         (string-append name "-" version ".tar.gz"))
+        (file-name (string-append name "-" version ".tar.gz"))
         (sha256
          (base32
-          "0x6iqlayg129w63999kz97m279m0jj4x4sm6gkqlvmp73y70yxvk"))))
+          "0w0ww0hrq4bjnihxgbnrri4lj5c8yzg31fyzx36fd9pvvw2vz5az"))))
     (build-system cargo-build-system)
     (arguments
      `(#:tests? #f      ; not all test files included
        #:cargo-inputs
        (("rust-adler32" ,rust-adler32-1)
-        ("rust-byteorder" ,rust-byteorder-1)
         ("rust-gzip-header" ,rust-gzip-header-0.3))
        #:cargo-development-inputs
        (("rust-miniz-oxide" ,rust-miniz-oxide-0.3))))
     (home-page "https://github.com/image-rs/deflate-rs")
     (synopsis "DEFLATE, zlib and gzip encoder written in rust")
-    (description
-     "This package provides a DEFLATE, zlib and gzip encoder written in rust.")
+    (description "This package provides a DEFLATE, zlib and gzip encoder
+written in rust.")
     (license (list license:expat license:asl2.0))))

+(define-public rust-deflate-0.8
+  (package
+    (inherit rust-deflate-0.9)
+    (name "rust-deflate")
+    (version "0.8.6")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "deflate" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0x6iqlayg129w63999kz97m279m0jj4x4sm6gkqlvmp73y70yxvk"))))
+    (arguments
+     `(#:tests? #f      ; not all test files included
+       #:cargo-inputs
+         (("rust-adler32" ,rust-adler32-1)
+          ("rust-byteorder" ,rust-byteorder-1)
+          ("rust-gzip-header" ,rust-gzip-header-0.3))
+       #:cargo-development-inputs
+         (("rust-miniz-oxide" ,rust-miniz-oxide-0.3))))))
+
 (define-public rust-deflate-0.7
   (package
     (inherit rust-deflate-0.8)
--
2.32.0




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

* [bug#50368] [PATCH v2 6/9] gnu: Add rust-libloading-0.7.
  2021-09-04  8:46 [bug#50368] [PATCH 1/9] gnu: rust-multipart-0.17: Fix inputs phodina via Guix-patches via
                   ` (11 preceding siblings ...)
  2021-09-15 19:18 ` [bug#50368] [PATCH v2 5/9] gnu: Add rust-deflate-0.9 phodina via Guix-patches via
@ 2021-09-15 19:19 ` phodina via Guix-patches via
  2021-09-15 19:20 ` [bug#50368] [PATCH v2 7/9] gnu: Add rust-fdlimit-0.1 phodina via Guix-patches via
                   ` (3 subsequent siblings)
  16 siblings, 0 replies; 30+ messages in thread
From: phodina via Guix-patches via @ 2021-09-15 19:19 UTC (permalink / raw)
  To: Xinglu Chen; +Cc: 50368@debbugs.gnu.org

* gnu/packages/crates-io.scm (rust-libloading-0.7): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 107227b1ec..d458ad953e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24511,8 +24511,7 @@ library.")
      (origin
        (method url-fetch)
        (uri (crate-uri "libloading" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
          "0sidr67nsa693mqrqgk2np3bkqni0778yk147xncspy171jdk13g"))))
@@ -24556,6 +24555,37 @@ loading utilities.")
      `(("rust-cfg-if" ,rust-cfg-if-1)
        ("rust-winapi" ,rust-winapi-0.3)))))

+(define-public rust-libloading-0.7
+  (package
+    (name "rust-libloading")
+    (version "0.7.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "libloading" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0sidr67nsa693mqrqgk2np3bkqni0778yk147xncspy171jdk13g"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-cfg-if" ,rust-cfg-if-1)
+         ("rust-winapi" ,rust-winapi-0.3))
+        #:cargo-development-inputs
+        (("rust-libc" ,rust-libc-0.2)
+         ("rust-static-assertions"
+          ,rust-static-assertions-1))))
+    (home-page
+      "https://github.com/nagisa/rust_libloading/")
+    (synopsis
+      "Safer binding to platform dynamic library loading utilities")
+    (description
+      "This package provides a safer binding to platform dynamic
+library loading utilities")
+    (license license:isc)))
+
 (define-public rust-libloading-0.5
   (package
     (name "rust-libloading")
--
2.32.0




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

* [bug#50368] [PATCH v2 7/9] gnu: Add rust-fdlimit-0.1.
  2021-09-04  8:46 [bug#50368] [PATCH 1/9] gnu: rust-multipart-0.17: Fix inputs phodina via Guix-patches via
                   ` (12 preceding siblings ...)
  2021-09-15 19:19 ` [bug#50368] [PATCH v2 6/9] gnu: Add rust-libloading-0.7 phodina via Guix-patches via
@ 2021-09-15 19:20 ` phodina via Guix-patches via
  2021-09-20 12:08   ` Xinglu Chen
  2021-09-15 19:20 ` [bug#50368] [PATCH v2 8/9] gnu: Add rust-chunked-tansfer-1 phodina via Guix-patches via
                   ` (2 subsequent siblings)
  16 siblings, 1 reply; 30+ messages in thread
From: phodina via Guix-patches via @ 2021-09-15 19:20 UTC (permalink / raw)
  To: Xinglu Chen; +Cc: 50368@debbugs.gnu.org

* gnu/packages/crates-io.scm (rust-fdlimit-0.1): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d458ad953e..fb444b92b1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16246,6 +16246,30 @@ it.")
        (("rust-libc" ,rust-libc-0.2)
         ("rust-winapi" ,rust-winapi-0.3))))))

+(define-public rust-fdlimit-0.1
+  (package
+    (name "rust-fdlimit")
+    (version "0.1.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "fdlimit" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0g30d6gqkrwy8ylwdy7pqm443iq0p5dmnpz4ks41pirl7dclm98d"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build?
+       #t
+       #:cargo-inputs
+       (("rust-libc" ,rust-libc-0.2))))
+    (home-page "https://github.com/paritytech/fdlimit")
+    (synopsis "Utility crate for raising file descriptors limit for Linux")
+    (description
+     "This package provides a Rust library to raise file descriptors limit for Linux.")
+    (license license:asl2.0)))
+
 (define-public rust-femme-2
   (package
     (name "rust-femme")
--
2.32.0




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

* [bug#50368] [PATCH v2 8/9] gnu: Add rust-chunked-tansfer-1.
  2021-09-04  8:46 [bug#50368] [PATCH 1/9] gnu: rust-multipart-0.17: Fix inputs phodina via Guix-patches via
                   ` (13 preceding siblings ...)
  2021-09-15 19:20 ` [bug#50368] [PATCH v2 7/9] gnu: Add rust-fdlimit-0.1 phodina via Guix-patches via
@ 2021-09-15 19:20 ` phodina via Guix-patches via
  2021-09-15 19:21 ` [bug#50368] [PATCH v2 9/9] gnu: Add rust-tiny-http-0.8 phodina via Guix-patches via
  2021-11-03 12:01 ` bug#50368: [PATCH 1/9] gnu: rust-multipart-0.17: Fix inputs Nicolas Goaziou
  16 siblings, 0 replies; 30+ messages in thread
From: phodina via Guix-patches via @ 2021-09-15 19:20 UTC (permalink / raw)
  To: Xinglu Chen; +Cc: 50368@debbugs.gnu.org

* gnu/packages/crates-io.scm (rust-chunked-transfer-1): New variable.
  (rust-chunked-transfer-0.3): Inherit from ‘rust-chunked-transfer-1’.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fb444b92b1..792da088ab 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7968,26 +7968,39 @@ Python arrow.humanize.")
 TimeZone trait for @code{rust-chrono}.")
     (license (list license:expat license:asl2.0))))

-(define-public rust-chunked-transfer-0.3
+(define-public rust-chunked-transfer-1
   (package
     (name "rust-chunked-transfer")
-    (version "0.3.1")
+    (version "1.4.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "chunked_transfer" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "11yghnd24w0i9p8g368c3pg7qh9nfz7kgri6pywja9pnmakj13a9"))))
+        (base32
+         "0bkdlsrszfcscw3j6yhs7kj6jbp8id47jjk6h9k58px47na5gy7z"))))
     (build-system cargo-build-system)
     (arguments `(#:skip-build? #t))
     (home-page "https://github.com/frewsxcv/rust-chunked-transfer")
     (synopsis "Encoder and decoder for HTTP chunked transfer coding")
-    (description
-     "This package provides an encoder and decoder for HTTP chunked transfer
-coding.")
+    (description "This package provides an encoder and decoder for HTTP chunked
+transfer coding.")
     (license license:asl2.0)))

+(define-public rust-chunked-transfer-0.3
+  (package
+    (inherit rust-chunked-transfer-1)
+    (name "rust-chunked-transfer")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "chunked_transfer" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "11yghnd24w0i9p8g368c3pg7qh9nfz7kgri6pywja9pnmakj13a9"))))))
+
 (define-public rust-ci-info-0.3
   (package
     (name "rust-ci-info")
--
2.32.0




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

* [bug#50368] [PATCH v2 9/9] gnu: Add rust-tiny-http-0.8.
  2021-09-04  8:46 [bug#50368] [PATCH 1/9] gnu: rust-multipart-0.17: Fix inputs phodina via Guix-patches via
                   ` (14 preceding siblings ...)
  2021-09-15 19:20 ` [bug#50368] [PATCH v2 8/9] gnu: Add rust-chunked-tansfer-1 phodina via Guix-patches via
@ 2021-09-15 19:21 ` phodina via Guix-patches via
  2021-11-03 12:01 ` bug#50368: [PATCH 1/9] gnu: rust-multipart-0.17: Fix inputs Nicolas Goaziou
  16 siblings, 0 replies; 30+ messages in thread
From: phodina via Guix-patches via @ 2021-09-15 19:21 UTC (permalink / raw)
  To: Xinglu Chen; +Cc: 50368@debbugs.gnu.org

* gnu/packages/crates-io.scm (rust-tiny-http-0.8): New variable.
  (rust-tiny-http-0.6): Inherit from ‘rust-tiny-http-0.8’.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 792da088ab..fe45bdff0d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49770,8 +49770,41 @@ closures after a delay or at a given timestamp.")
 manipulation in Rust.")
     (license license:expat)))

+(define-public rust-tiny-http-0.8
+  (package
+    (name "rust-tiny-http")
+    (version "0.8.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tiny-http" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0fcdwpb2ghk671qjjrk6048hs3yp7f681hxpr68gamk00181prcw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-ascii" ,rust-ascii-1)
+        ("rust-chrono" ,rust-chrono-0.4)
+        ("rust-chunked-transfer"
+         ,rust-chunked-transfer-1)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-openssl" ,rust-openssl-0.10)
+        ("rust-url" ,rust-url-2))
+       #:cargo-development-inputs
+       (("rust-fdlimit" ,rust-fdlimit-0.1)
+        ("rust-rustc-serialize"
+         ,rust-rustc-serialize-0.3)
+        ("rust-sha1" ,rust-sha1-0.6))))
+    (home-page "https://github.com/tiny-http/tiny-http")
+    (synopsis "Low level HTTP server library")
+    (description "This package provides a low level HTTP server library.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-tiny-http-0.6
   (package
+    (inherit rust-tiny-http-0.8)
     (name "rust-tiny-http")
     (version "0.6.2")
     (source
@@ -49781,7 +49814,6 @@ manipulation in Rust.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0la95daknfh8g951ddb2zdz6av2459rncp6h9dh02pf98h5glq8n"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
@@ -49790,11 +49822,7 @@ manipulation in Rust.")
         ("rust-chunked-transfer" ,rust-chunked-transfer-0.3)
         ("rust-log" ,rust-log-0.4)
         ("rust-openssl" ,rust-openssl-0.10)
-        ("rust-url" ,rust-url-1))))
-    (home-page "https://github.com/tiny-http/tiny-http")
-    (synopsis "Low level HTTP server library")
-    (description "This package provides a low level HTTP server library.")
-    (license license:asl2.0)))
+        ("rust-url" ,rust-url-1))))))

 (define-public rust-tiny-keccak-2
   (package
--
2.32.0




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

* [bug#50368] [PATCH v2 7/9] gnu: Add rust-fdlimit-0.1.
  2021-09-15 19:20 ` [bug#50368] [PATCH v2 7/9] gnu: Add rust-fdlimit-0.1 phodina via Guix-patches via
@ 2021-09-20 12:08   ` Xinglu Chen
  2021-09-27 22:00     ` phodina via Guix-patches via
  0 siblings, 1 reply; 30+ messages in thread
From: Xinglu Chen @ 2021-09-20 12:08 UTC (permalink / raw)
  To: phodina; +Cc: 50368@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 1263 bytes --]

On Wed, Sep 15 2021, phodina wrote:

> * gnu/packages/crates-io.scm (rust-fdlimit-0.1): New variable.
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index d458ad953e..fb444b92b1 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -16246,6 +16246,30 @@ it.")
>         (("rust-libc" ,rust-libc-0.2)
>          ("rust-winapi" ,rust-winapi-0.3))))))
>
> +(define-public rust-fdlimit-0.1
> +  (package
> +    (name "rust-fdlimit")
> +    (version "0.1.4")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (crate-uri "fdlimit" version))
> +       (file-name (string-append name "-" version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "0g30d6gqkrwy8ylwdy7pqm443iq0p5dmnpz4ks41pirl7dclm98d"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +     `(#:skip-build?
> +       #t
> +       #:cargo-inputs
> +       (("rust-libc" ,rust-libc-0.2))))
> +    (home-page "https://github.com/paritytech/fdlimit")
> +    (synopsis "Utility crate for raising file descriptors limit for Linux")
> +    (description
> +     "This package provides a Rust library to raise file descriptors limit for Linux.")

This line is over 80 characters long.

The rest of v2 LGTM!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

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

* [bug#50368] [PATCH v2 7/9] gnu: Add rust-fdlimit-0.1.
  2021-09-20 12:08   ` Xinglu Chen
@ 2021-09-27 22:00     ` phodina via Guix-patches via
  0 siblings, 0 replies; 30+ messages in thread
From: phodina via Guix-patches via @ 2021-09-27 22:00 UTC (permalink / raw)
  To: Xinglu Chen; +Cc: 50368@debbugs.gnu.org

Hi Xinglu,

thank you for the review and appology for my late response.

Now it's less than 80 characters in length.

--8<---------------cut here---------------start------------->8---

* gnu/packages/crates-io.scm (rust-fdlimit-0.1): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d458ad953e..8d0f40d879 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16246,6 +16246,30 @@ it.")
        (("rust-libc" ,rust-libc-0.2)
         ("rust-winapi" ,rust-winapi-0.3))))))

+(define-public rust-fdlimit-0.1
+  (package
+    (name "rust-fdlimit")
+    (version "0.1.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "fdlimit" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0g30d6gqkrwy8ylwdy7pqm443iq0p5dmnpz4ks41pirl7dclm98d"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build?
+       #t
+       #:cargo-inputs
+       (("rust-libc" ,rust-libc-0.2))))
+    (home-page "https://github.com/paritytech/fdlimit")
+    (synopsis "Utility crate for raising file descriptors limit for Linux")
+    (description
+     "This package provides a Rust library to raise file descriptors limit.")
+    (license license:asl2.0)))
+
 (define-public rust-femme-2
   (package
     (name "rust-femme")
--
2.32.0




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

* bug#50368: [PATCH 1/9] gnu: rust-multipart-0.17: Fix inputs.
  2021-09-04  8:46 [bug#50368] [PATCH 1/9] gnu: rust-multipart-0.17: Fix inputs phodina via Guix-patches via
                   ` (15 preceding siblings ...)
  2021-09-15 19:21 ` [bug#50368] [PATCH v2 9/9] gnu: Add rust-tiny-http-0.8 phodina via Guix-patches via
@ 2021-11-03 12:01 ` Nicolas Goaziou
  16 siblings, 0 replies; 30+ messages in thread
From: Nicolas Goaziou @ 2021-11-03 12:01 UTC (permalink / raw)
  To: phodina via Guix-patches via; +Cc: 50368-done, phodina

Hello,

phodina via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/crates-io.scm
>   (rust-multipart-0.17)[cargo-development-inputs]: Add
>   rust-env-log-0.4.

Applied, as all subsequent packages. Thank you.

Regards,
-- 
Nicolas Goaziou




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

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

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-04  8:46 [bug#50368] [PATCH 1/9] gnu: rust-multipart-0.17: Fix inputs phodina via Guix-patches via
2021-09-04  8:58 ` [bug#50368] [PATCH 2/9] gnu: Add rust-multipart-0.18 phodina via Guix-patches via
2021-09-04 19:10   ` Xinglu Chen
2021-09-04  8:59 ` [bug#50368] [PATCH 3/9] gnu: rust-base64-0.13: Fix inputs phodina via Guix-patches via
2021-09-04 19:13   ` Xinglu Chen
2021-09-04  9:01 ` [bug#50368] [PATCH 4/9] gnu: Add rust-noise-0.7 phodina via Guix-patches via
2021-09-04 19:17   ` Xinglu Chen
2021-09-04  9:02 ` [bug#50368] [PATCH 5/9] gnu: rust-deflate: Update to 0.9.1 phodina via Guix-patches via
2021-09-04 19:21   ` Xinglu Chen
2021-09-04  9:03 ` [bug#50368] [PATCH 6/9] gnu: Add rust-libloading-0.7 phodina via Guix-patches via
2021-09-04 19:23   ` Xinglu Chen
2021-09-04  9:04 ` [bug#50368] [PATCH 7/9] gnu: Add rust-fdlimit-0.1 phodina via Guix-patches via
2021-09-04 19:26   ` Xinglu Chen
2021-09-04  9:05 ` [bug#50368] [PATCH 8/9] gnu: Add rust-chunked-tansfer-1 phodina via Guix-patches via
2021-09-04 19:27   ` Xinglu Chen
2021-09-04  9:06 ` [bug#50368] [PATCH 9/9] gnu: Add rust-tiny-http-0.8 phodina via Guix-patches via
2021-09-04 19:32   ` Xinglu Chen
2021-09-05 13:10     ` phodina via Guix-patches via
2021-09-05 13:48       ` Xinglu Chen
2021-09-15 19:16 ` [bug#50368] [PATCH v2 2/9] gnu: Add rust-multipart-0.18 phodina via Guix-patches via
2021-09-15 19:17 ` [bug#50368] [PATCH v2 3/9] gnu: rust-base64-0.13: Fix inputs phodina via Guix-patches via
2021-09-15 19:17 ` [bug#50368] [PATCH v2 4/9] gnu: Add rust-noise-0.7 phodina via Guix-patches via
2021-09-15 19:18 ` [bug#50368] [PATCH v2 5/9] gnu: Add rust-deflate-0.9 phodina via Guix-patches via
2021-09-15 19:19 ` [bug#50368] [PATCH v2 6/9] gnu: Add rust-libloading-0.7 phodina via Guix-patches via
2021-09-15 19:20 ` [bug#50368] [PATCH v2 7/9] gnu: Add rust-fdlimit-0.1 phodina via Guix-patches via
2021-09-20 12:08   ` Xinglu Chen
2021-09-27 22:00     ` phodina via Guix-patches via
2021-09-15 19:20 ` [bug#50368] [PATCH v2 8/9] gnu: Add rust-chunked-tansfer-1 phodina via Guix-patches via
2021-09-15 19:21 ` [bug#50368] [PATCH v2 9/9] gnu: Add rust-tiny-http-0.8 phodina via Guix-patches via
2021-11-03 12:01 ` bug#50368: [PATCH 1/9] gnu: rust-multipart-0.17: Fix inputs Nicolas Goaziou

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.