summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-10 10:52:36 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:50:02 +0100
commit49984500a62be18e6b02c49b774505fdaba07e13 (patch)
treed2613c91347059d931f7a4f030ae993d40be703e /gnu
parent89fbe264db1f8d09a9fe6a6a202473ba1c646bfe (diff)
downloadguix-49984500a62be18e6b02c49b774505fdaba07e13.tar.gz
gnu: Add rust-mime-0.2.
* gnu/packages/crates-io.scm (rust-mime-0.2): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ce7326c60a..f5376d1f5f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21009,6 +21009,25 @@ drop-in allocator.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-mime-0.2
+  (package
+    (inherit rust-mime-0.3)
+    (name "rust-mime")
+    (version "0.2.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "mime" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1q1s1ax1gaz8ld3513nvhidfwnik5asbs1ma3hp6inp5dn56nqms"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-heapsize" ,rust-heapsize-0.3)
+        ("rust-log" ,rust-log-0.3)
+        ("rust-serde" ,rust-serde-0.8))))))
+
 (define-public rust-mime-guess-2
   (package
     (name "rust-mime-guess")