summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-09 15:02:09 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-28 20:16:34 +0100
commit257ff75b2d56a1144acc7dc63bc1a812bc27de1c (patch)
tree8e86ce65bc925159f45710d5725ac12e2a9e1ac5 /gnu/packages
parentea1f76eae5188b216646e4ceed1e7b127a5da59e (diff)
downloadguix-257ff75b2d56a1144acc7dc63bc1a812bc27de1c.tar.gz
gnu: Add rust-serde-urlencoded-0.5.
* gnu/packages/crates-io.scm (rust-serde-urlencoded-0.5): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index af55e8243c..ad8de236c9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -26881,6 +26881,27 @@ by dynamically growing the stack.")
     (description "x-www-form-urlencoded meets serde.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-serde-urlencoded-0.5
+  (package
+    (inherit rust-serde-urlencoded-0.6)
+    (name "rust-serde-urlencoded")
+    (version "0.5.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "serde_urlencoded" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0nhnzllx5xrij4x17g351n14md691r95mxr7sbpz4sl80n8xcbb4"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-dtoa" ,rust-dtoa-0.4)
+        ("rust-itoa" ,rust-itoa-0.4)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-url" ,rust-url-1))
+       #:cargo-development-inputs
+       (("rust-serde-derive" ,rust-serde-derive-1))))))
+
 (define-public rust-serde-yaml-0.8
   (package
     (name "rust-serde-yaml")