summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-03 09:29:42 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-03 09:29:42 +0100
commit4c5788348ca0643d420b3cdc6a9392419ce793d0 (patch)
tree2b4c13f8e9aaa340c14f0e270a3f51c49d9fb7ce /gnu/packages
parent58e1d0e6426bedfa76ba7a4316ec44e0d03b0ce8 (diff)
gnu: Add rust-form-urlencoded-1.
* gnu/packages/crates-io.scm (rust-form-urlencoded-1): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2eb0e216d7..ac2333eef0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9002,6 +9002,30 @@ implementation that is more efficient for smaller hash keys.")
(base32
"0jxgzd04ra4imjv8jgkmdq59kj8fsz6w4zxsbmlai34h26225c00"))))))
+(define-public rust-form-urlencoded-1
+ (package
+ (name "rust-form-urlencoded")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "form_urlencoded" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "005yi1319k5bz8g5ylbdiakq5jp5jh90yy6k357zm11fr4aqvrpc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-matches" ,rust-matches-0.1)
+ ("rust-percent-encoding" ,rust-percent-encoding-2))))
+ (home-page "https://github.com/servo/rust-url")
+ (synopsis "Parser and serializer for the urlencoded syntax")
+ (description
+ "Parser and serializer for the application/x-www-form-urlencoded
+syntax, as used by HTML forms.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-fragile-0.3
(package
(name "rust-fragile")