gnu: Add rust-mime-guess-1.

* gnu/packages/crates-io.scm (rust-mime-guess-1): New variable.
This commit is contained in:
Nicolas Goaziou 2021-02-10 00:09:14 +01:00
parent a599f25688
commit 89fbe264db
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -21035,6 +21035,26 @@ (define-public rust-mime-guess-2
file's MIME type by its extension.")
(license license:expat)))
(define-public rust-mime-guess-1
(package
(inherit rust-mime-guess-2)
(name "rust-mime-guess")
(version "1.8.8")
(source
(origin
(method url-fetch)
(uri (crate-uri "mime_guess" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "18qcd5aa3363mb742y7lf39j7ha88pkzbv9ff2qidlsdxsjjjs91"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-mime" ,rust-mime-0.2)
("rust-phf" ,rust-phf-0.7)
("rust-phf-codegen" ,rust-phf-codegen-0.7)
("rust-unicase" ,rust-unicase-1))))))
(define-public rust-miniz-oxide-0.3
(package
(name "rust-miniz-oxide")