[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
172/189: gnu: Add rust-mime-guess-2.
From: |
guix-commits |
Subject: |
172/189: gnu: Add rust-mime-guess-2. |
Date: |
Mon, 21 Sep 2020 06:01:56 -0400 (EDT) |
arunisaac pushed a commit to branch wip-swc
in repository guix.
commit e82443ee600de15121ac713588a3a3f3411456af
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Mon Sep 21 10:37:27 2020 +0530
gnu: Add rust-mime-guess-2.
* gnu/packages/crates-io.scm (rust-mime-guess-2): New variable.
---
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a3ca2c6..6fe4baa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15939,6 +15939,32 @@ drop-in allocator.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-mime-guess-2
+ (package
+ (name "rust-mime-guess")
+ (version "2.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mime_guess" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "04pjpbl90z4yn0cmifvwgf4mqznciw6b095k626q96bxx71d9116"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-mime" ,rust-mime-0.3)
+ ("rust-unicase" ,rust-unicase-2))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-unicase" ,rust-unicase-2))))
+ (home-page "https://github.com/abonander/mime_guess")
+ (synopsis "Detect a file's MIME type by its extension")
+ (description "This package provides a simple crate for detection of a
+file's MIME type by its extension.")
+ (license license:expat)))
+
(define-public rust-miniz-oxide-0.3
(package
(name "rust-miniz-oxide")
- 180/189: gnu: Add rust-napi-0.5., (continued)
- 180/189: gnu: Add rust-napi-0.5., guix-commits, 2020/09/21
- 183/189: gnu: Add rust-path-clean-0.1., guix-commits, 2020/09/21
- 175/189: gnu: Add rust-hyper-rustls-0.21., guix-commits, 2020/09/21
- 176/189: gnu: Add rust-reqwest-0.10., guix-commits, 2020/09/21
- 182/189: gnu: Add rust-is-macro-0.1., guix-commits, 2020/09/21
- 181/189: gnu: Add rust-ipconfig-0.2., guix-commits, 2020/09/21
- 188/189: gnu: Add rust-radix-fmt-1., guix-commits, 2020/09/21
- 171/189: gnu: Add rust-trust-dns-resolver-0.19., guix-commits, 2020/09/21
- 186/189: gnu: Add rust-fluid-0.4., guix-commits, 2020/09/21
- 174/189: gnu: Add rust-rustls-native-certs-0.4., guix-commits, 2020/09/21
- 172/189: gnu: Add rust-mime-guess-2.,
guix-commits <=