summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-07-25 16:25:49 +0200
committerMarius Bakke <marius@gnu.org>2022-07-27 12:31:25 +0200
commit74900a671a1ab215e46a6839e6159f728d9e78c0 (patch)
tree2432db00350f27bfedbde2d079359e2fc64cf8e1
parent37d28a662b6983bde397645e2e33ed1158170bd7 (diff)
downloadguix-74900a671a1ab215e46a6839e6159f728d9e78c0.tar.gz
gnu: rust-language-tags: Add 0.3.2.
* gnu/packages/crates-io.scm (rust-language-tags-0.3): New variable.
(rust-language-tags-0.2): Inherit from it.
-rw-r--r--gnu/packages/crates-io.scm34
1 files changed, 27 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0550947107..6f09ab1e6a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30630,10 +30630,10 @@ kernel32.")
      "This package provides a Log macro for log's kv-unstable backend.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-language-tags-0.2
+(define-public rust-language-tags-0.3
   (package
     (name "rust-language-tags")
-    (version "0.2.2")
+    (version "0.3.2")
     (source
       (origin
         (method url-fetch)
@@ -30641,13 +30641,14 @@ kernel32.")
         (file-name (string-append name "-" version ".tar.gz"))
         (sha256
          (base32
-          "16hrjdpa827carq5x4b8zhas24d8kg4s16m6nmmn1kb7cr5qh7d9"))))
+          "124k6w9nx33q4xs8rpa9f7klshrsa0x4f7qngdwq890lpdj5jd6l"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-heapsize" ,rust-heapsize-0.3)
-        ("rust-heapsize-plugin" ,rust-heapsize-plugin-0.1))))
+     `(#:cargo-inputs
+       (("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs
+       (("rust-bencher" ,rust-bencher-0.1)
+        ("rust-serde-json" ,rust-serde-json-1))))
     (home-page "https://github.com/pyfisch/rust-language-tags")
     (synopsis "Language tags for Rust")
     (description
@@ -30658,6 +30659,25 @@ currently supports parsing (fully conformant parser), formatting and comparing
 language tags.")
     (license license:expat)))
 
+(define-public rust-language-tags-0.2
+  (package
+    (inherit rust-language-tags-0.3)
+    (name "rust-language-tags")
+    (version "0.2.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "language-tags" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "16hrjdpa827carq5x4b8zhas24d8kg4s16m6nmmn1kb7cr5qh7d9"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-heapsize" ,rust-heapsize-0.3)
+        ("rust-heapsize-plugin" ,rust-heapsize-plugin-0.1))))))
+
 (define-public rust-lab-0.11
   (package
     (name "rust-lab")