gnu: Add rust-locale-config-0.2.
authorEfraim Flashner <efraim@flashner.co.il>
Mon, 22 Jun 2020 07:12:48 +0000 (10:12 +0300)
committerEfraim Flashner <efraim@flashner.co.il>
Mon, 22 Jun 2020 11:15:32 +0000 (14:15 +0300)
* gnu/packages/crates-io.scm (rust-locale-config-0.2): New variable.

gnu/packages/crates-io.scm

index ec8c6df..4f48efc 100644 (file)
@@ -11792,6 +11792,26 @@ pairs in insertion order.")
 by inspecting the system for user preference.")
     (license license:expat)))
 
+(define-public rust-locale-config-0.2
+  (package
+    (inherit rust-locale-config-0.3)
+    (name "rust-locale-config")
+    (version "0.2.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "locale-config" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0p2kdgc1c9cq5bi2rpszbhkh7pdk1fwxhij37gayb2alwkmikb3k"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-regex" ,rust-regex-1.3)
+        ("rust-winapi" ,rust-winapi-0.3))))))
+
 (define-public rust-lock-api-0.3
   (package
     (name "rust-lock-api")