summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-16 22:30:21 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-16 23:36:12 +0100
commit15b84d0bb0a0acbe1f6c2cc754f972d25442b108 (patch)
treee524393444e893403170f2724307fcc594fd67d3
parent675ce003010b6326d6214b6f56bb6985ff436031 (diff)
downloadguix-15b84d0bb0a0acbe1f6c2cc754f972d25442b108.tar.gz
gnu: Add rust-calamine-0.17.
* gnu/packages/crates-io.scm (rust-calamine-0.17): New variable.
(rust-calamine-0.16): Inherit from above.
-rw-r--r--gnu/packages/crates-io.scm30
1 files changed, 27 insertions, 3 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 76e2aeacaa..d173354246 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6034,17 +6034,17 @@ cached data.")
 directories and @code{CACHEDIR.TAG} files.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-calamine-0.16
+(define-public rust-calamine-0.17
   (package
     (name "rust-calamine")
-    (version "0.16.2")
+    (version "0.17.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "calamine" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "03nl0n79rbq5x0crgg59brxr86hc9k5kjbf3h7d5c8g5mzlkxf9n"))))
+        (base32 "095sx7dma2p1pn464l51ac6drih3c1bhwfw8g0y00vdwqwmrrvn8"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
@@ -6064,6 +6064,30 @@ directories and @code{CACHEDIR.TAG} files.")
 spreadsheet file.")
     (license license:expat)))
 
+(define-public rust-calamine-0.16
+  (package
+    (inherit rust-calamine-0.17)
+    (name "rust-calamine")
+    (version "0.16.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "calamine" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "03nl0n79rbq5x0crgg59brxr86hc9k5kjbf3h7d5c8g5mzlkxf9n"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-byteorder" ,rust-byteorder-1)
+        ("rust-chrono" ,rust-chrono-0.4)
+        ("rust-codepage" ,rust-codepage-0.1)
+        ("rust-encoding-rs" ,rust-encoding-rs-0.8)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-quick-xml" ,rust-quick-xml-0.19)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-zip" ,rust-zip-0.5))))))
+
 (define-public rust-calloop-0.6
   (package
     (name "rust-calloop")