summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-06-10 23:06:45 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-06-10 23:06:45 +0300
commite4e51dcd7642ddf89ed84ec6f285270e41ce9df3 (patch)
tree5727df51d21c1eeca447ea45e3c8dfb9fabae502
parent2f1e843774bcaf3d8b11c15fcf083461987ecebd (diff)
downloadguix-e4e51dcd7642ddf89ed84ec6f285270e41ce9df3.tar.gz
gnu: Add rust-gettext-rs-0.21.
* gnu/packages/crates-io.scm (rust-gettext-rs-0.21): New variable.
(rust-gettest-rs-0.19): Inherit from rust-gettext-rs-0.21.
-rw-r--r--gnu/packages/crates-io.scm32
1 files changed, 27 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d2b6e7701d..91faf341c6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17115,10 +17115,10 @@ getters and setters on fields.")
        (("rust-gettext-sys" ,rust-gettext-sys-0.19)
         ("rust-locale-config" ,rust-locale-config-0.2))))))
 
-(define-public rust-gettext-sys-0.19
+(define-public rust-gettext-sys-0.21
   (package
     (name "rust-gettext-sys")
-    (version "0.19.9")
+    (version "0.21.0")
     (source
       (origin
         (method url-fetch)
@@ -17127,14 +17127,15 @@ getters and setters on fields.")
          (string-append name "-" version ".tar.gz"))
         (sha256
          (base32
-          "0lzi6ja81vc16mhcdmn3lw35120n9ijhvsy5dh5775mpbfxc8d70"))
+          "105d5zh67yc5vyzmqxdw7hx82h606ca6rzhsfjgzjczn2s012pc8"))
         (modules '((guix build utils)))
         (snippet
-         '(begin (delete-file "gettext-0.19.8.1.tar.xz") #t))))
+         '(begin (delete-file "gettext-0.21.tar.xz") #t))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-       (("rust-cc" ,rust-cc-1))))
+       (("rust-cc" ,rust-cc-1)
+        ("rust-tempfile" ,rust-tempfile-3))))
     (inputs
      `(("gettext" ,gettext-minimal)))
     (home-page "https://github.com/Koka/gettext-rs")
@@ -17142,6 +17143,27 @@ getters and setters on fields.")
     (description "This package provides raw FFI bindings for GNU Gettext.")
     (license license:expat)))
 
+(define-public rust-gettext-sys-0.19
+  (package
+    (inherit rust-gettext-sys-0.21)
+    (name "rust-gettext-sys")
+    (version "0.19.9")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "gettext-sys" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0lzi6ja81vc16mhcdmn3lw35120n9ijhvsy5dh5775mpbfxc8d70"))
+        (modules '((guix build utils)))
+        (snippet
+         '(begin (delete-file "gettext-0.19.8.1.tar.xz") #t))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-cc" ,rust-cc-1))))))
+
 (define-public rust-gfa-0.6
   (package
     (name "rust-gfa")