summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-06-10 23:19:10 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-06-10 23:19:10 +0300
commitb6057b4975584312d33e72b7ef7e32d9f5ab7830 (patch)
tree5f96d02a8cf6ca442b54c439f4d2c124b77d29e3 /gnu
parent4c9e9f13c0e028308613b5a5b22e90eb0241a522 (diff)
downloadguix-b6057b4975584312d33e72b7ef7e32d9f5ab7830.tar.gz
gnu: Add rust-gettext-rs-0.6.
* gnu/packages/crates-io.scm (rust-gettext-rs-0.6): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b9ff55a349..b0aad05ca9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17208,6 +17208,27 @@ getters and setters on fields.")
     (description "This package provides GNU Gettext FFI bindings for Rust.")
     (license license:expat)))
 
+(define-public rust-gettext-rs-0.6
+  (package
+    (inherit rust-gettext-rs-0.7)
+    (name "rust-gettext-rs")
+    (version "0.6.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "gettext-rs" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "040nizg9l5ap2vqgq4d2va2hi6cpykj46g8q1z9xv393vjlygx1x"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-gettext-sys" ,rust-gettext-sys-0.21)
+        ("rust-locale-config" ,rust-locale-config-0.3))
+       #:cargo-development-inputs
+       (("rust-lazy-static" ,rust-lazy-static-1))))))
+
 (define-public rust-gettext-rs-0.5
   (package
     (inherit rust-gettext-rs-0.7)