diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-08-29 12:12:38 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-08-29 15:05:22 +0300 |
commit | b494f1718716f09c5623cd031d9280da6985b12b (patch) | |
tree | 7e46aeffa475a923eb3ad81f259e51de32747576 /gnu/packages | |
parent | ff901328101a75d25bc4533a37f279bac2741068 (diff) | |
download | guix-b494f1718716f09c5623cd031d9280da6985b12b.tar.gz |
gnu: Add rust-mime.
* gnu/packages/crates-io.scm (rust-mime): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3c8930d9bb..9e17b89c55 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -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") |