gnu: Add rust-mime.

* gnu/packages/crates-io.scm (rust-mime): New variable.
This commit is contained in:
Efraim Flashner 2019-08-29 12:12:38 +03:00
parent ff90132810
commit b494f17187
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 23 additions and 0 deletions

View File

@ -699,6 +699,29 @@ whether an expression matches a pattern.")
(license (list license:asl2.0
license:expat))))
(define-public rust-mime
(package
(name "rust-mime")
(version "0.3.13")
(source
(origin
(method url-fetch)
(uri (crate-uri "mime" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"09clbyvdkwflp8anwjhqdib0sw8191gphcchdp80nc8ayhhwl9ry"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-unicase" ,rust-unicase))))
(home-page "https://github.com/hyperium/mime")
(synopsis "Strongly Typed Mimes")
(description
"Support MIME (HTTP Media Types) as strong types in Rust.")
(license (list license:asl2.0
license:expat))))
(define-public rust-modifier
(package
(name "rust-modifier")