diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-03-19 16:31:21 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-07-19 00:43:40 +0300 |
commit | 80c4cdc13ba00430297207819385c6aef106b8be (patch) | |
tree | 91ae5529c263a5a76104eb4ed8a1be49becb5045 | |
parent | d4f6c9d2919b885a58e97959a8df6dffe8b75e13 (diff) | |
download | guix-80c4cdc13ba00430297207819385c6aef106b8be.tar guix-80c4cdc13ba00430297207819385c6aef106b8be.tar.gz |
gnu: Add rust-serde-qs-0.8.
* gnu/packages/crates-io.scm (rust-serde-qs-0.8): New variable.
(rust-serde-qs-0.7): Inherit from rust-serde-qs-0.8.
Change-Id: Ieec869de30e0abe5c217f331387d4b60a48fee33
-rw-r--r-- | gnu/packages/crates-io.scm | 48 |
1 files changed, 38 insertions, 10 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 573aff8689..a27a47b64d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -65453,8 +65453,45 @@ programs in rust.") "This package provides a path to the element that failed to deserialize.") (license (list license:expat license:asl2.0)))) +(define-public rust-serde-qs-0.8 + (package + (name "rust-serde-qs") + (version "0.8.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde_qs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19pngnlga4xnap85kdvn661662hf42lkkppp9sd04py7xs056wf7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-actix-web" ,rust-actix-web-3) + ("rust-actix-web" ,rust-actix-web-2) + ("rust-futures" ,rust-futures-0.3) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-warp" ,rust-warp-0.3)) + #:cargo-development-inputs + (("rust-csv" ,rust-csv-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) + ("rust-serde-with" ,rust-serde-with-1)))) + (home-page "https://github.com/samscott89/serde_qs") + (synopsis "Querystrings for Serde") + (description + "This crate is a Rust library for serialising to and deserialising from +querystrings. This crate is designed to extend @code{serde_urlencoded} when +using nested parameters, similar to those used by @code{qs} for Node, and +commonly used by Ruby on Rails via Rack.") + (license (list license:expat license:asl2.0)))) + (define-public rust-serde-qs-0.7 (package + (inherit rust-serde-qs-0.8) (name "rust-serde-qs") (version "0.7.2") (source @@ -65464,7 +65501,6 @@ programs in rust.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1jz6gpr02d393f8cwdxbgfl3jhx5svr1z5ilxhdh16slqvijvy2s")))) - (build-system cargo-build-system) (arguments ;; XXX: The crate fails to't build with with the same error as ;; rust-actix-connect. Skip build for now. @@ -65478,15 +65514,7 @@ programs in rust.") ("rust-thiserror" ,rust-thiserror-1)) #:cargo-development-inputs (("rust-csv" ,rust-csv-1) - ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7)))) - (home-page "https://github.com/samscott89/serde_qs") - (synopsis "Querystrings for Serde") - (description - "This crate is a Rust library for serialising to and deserialising from -querystrings. This crate is designed to extend @code{serde_urlencoded} when -using nested parameters, similar to those used by @code{qs} for Node, and -commonly used by Ruby on Rails via Rack.") - (license (list license:expat license:asl2.0)))) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7)))))) (define-public rust-serde-regex-1 (package |