summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorgyara <me@gyara.moe>2022-08-27 19:10:37 +0900
committerEfraim Flashner <efraim@flashner.co.il>2022-09-28 13:52:10 +0300
commit3ff582b82b047f709b761ccf075809c66fef7957 (patch)
tree8cb78ef4d6fd62637ed486b89819079c28b51656 /gnu/packages/crates-io.scm
parenta8ff78eaf55f2876e6616720ad63ca0b3fa8a632 (diff)
downloadguix-3ff582b82b047f709b761ccf075809c66fef7957.tar.gz
gnu: Add rust-number-prefix-0.4.
* gnu/packages/crates-io.scm (rust-number-prefix-0.4): New variable.
(rust-number-prefix-0.3): Inherit from rust-number-prefix-0.4.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm19
1 files changed, 16 insertions, 3 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 528ad204a7..9329990d22 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40027,10 +40027,10 @@ mathematics.")
 giga, kibi.")
     (license license:expat)))
 
-(define-public rust-number-prefix-0.3
+(define-public rust-number-prefix-0.4
   (package
     (name "rust-number-prefix")
-    (version "0.3.0")
+    (version "0.4.0")
     (source
       (origin
         (method url-fetch)
@@ -40039,7 +40039,7 @@ giga, kibi.")
          (string-append name "-" version ".tar.gz"))
         (sha256
          (base32
-          "0slm4mqmpgs6hvz22ycny9lvyvl9ivs80a1lncslp7lszz02zc0p"))))
+          "1wvh13wvlajqxkb1filsfzbrnq0vrmrw298v2j3sy82z1rm282w3"))))
     (build-system cargo-build-system)
     (home-page "https://github.com/ogham/rust-number-prefix")
     (synopsis "Format numeric prefixes: kilo, giga, kibi")
@@ -40048,6 +40048,19 @@ giga, kibi.")
 giga, kibi.")
     (license license:expat)))
 
+(define-public rust-number-prefix-0.3
+  (package
+    (inherit rust-number-prefix-0.4)
+    (name "rust-number-prefix")
+    (version "0.3.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "number_prefix" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0slm4mqmpgs6hvz22ycny9lvyvl9ivs80a1lncslp7lszz02zc0p"))))))
+
 (define-public rust-numtoa-0.1
   (package
     (name "rust-numtoa")