diff mbox series

[bug#57448,1/5] gnu: Add rust-number-prefix 0.4.0

Message ID 50418f56637b6ee94b0e39d3d494cce73dfeb63d.1661595039.git.me@gyara.moe
State Accepted
Headers show
Series gnu: exa: Update to 0.10.1. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git-branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

ギャラ Aug. 27, 2022, 10:10 a.m. UTC
---
There are still other packages deps on rust-number-prefix-0.3

 gnu/packages/crates-io.scm | 39 +++++++++++++++++++++++---------------
 1 file changed, 24 insertions(+), 15 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7c5850791d..e446c6dddb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39109,27 +39109,36 @@  (define-public rust-num-traits-0.1
      `(#:cargo-inputs
        (("rust-num-traits" , rust-num-traits-0.2))))))
 
-(define-public rust-number-prefix-0.3
+(define-public rust-number-prefix-0.4
   (package
     (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"))))
+    (version "0.4.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "number-prefix" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1wvh13wvlajqxkb1filsfzbrnq0vrmrw298v2j3sy82z1rm282w3"))))
     (build-system cargo-build-system)
     (home-page "https://github.com/ogham/rust-number-prefix")
-    (synopsis "Format numeric prefixes: kilo, giga, kibi")
-    (description
-     "This package provides a library for formatting numeric prefixes: kilo,
-giga, kibi.")
+    (synopsis "Library for numeric prefixes (kilo, giga, kibi).")
+    (description "Library for numeric prefixes (kilo, 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")