mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: Add rust-mime.
* gnu/packages/crates-io.scm (rust-mime): New variable.
This commit is contained in:
parent
ff90132810
commit
b494f17187
1 changed files with 23 additions and 0 deletions
|
@ -699,6 +699,29 @@ (define-public rust-md5
|
|||
(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")
|
||||
|
|
Loading…
Reference in a new issue