summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-01-16 17:48:50 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-01-16 19:36:26 +0200
commitfe195ef7d30b22ca12ebf770101460b1f0920fdf (patch)
treec8a6b4ec9da132934f35c9f1dac800d494eff606
parenta630e32ac12d21e93438b6c55c6303f349a7d5ac (diff)
downloadguix-fe195ef7d30b22ca12ebf770101460b1f0920fdf.tar.gz
gnu: rust-getopts-0.2: Update to 0.2.21.
* gnu/packages/crates-io.scm (rust-getopts-0.2): Update to 0.2.21.
[arguments]: Add rust-unicode-width-0.1,
rust-rustc-std-workspace-core-1.0, rust-rustc-std-workspace-std-1.0 to
cargo-inputs.
-rw-r--r--gnu/packages/crates-io.scm8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dd5778366c..ce5aef4534 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3663,7 +3663,7 @@ archive to be linked into Rustcode.")
 (define-public rust-getopts-0.2
   (package
     (name "rust-getopts")
-    (version "0.2.17")
+    (version "0.2.21")
     (source
       (origin
         (method url-fetch)
@@ -3671,10 +3671,14 @@ archive to be linked into Rustcode.")
         (file-name (string-append name "-" version ".crate"))
         (sha256
          (base32
-          "018yhq97zgcrcxwhj3pxh31h83704sgaiijdnpl0r1ir366c005r"))))
+          "1mgb3qvivi26gs6ihqqhh8iyhp3vgxri6vwyrwg28w0xqzavznql"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-unicode-width" ,rust-unicode-width-0.1)
+        ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1.0)
+        ("rust-rustc-std-workspace-std" ,rust-rustc-std-workspace-std-1.0))
        #:cargo-development-inputs
        (("rust-log" ,rust-log-0.3))))
     (home-page "https://github.com/rust-lang/getopts")