guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/07: gnu: Add rust-number-prefix-0.4.


From: guix-commits
Subject: 01/07: gnu: Add rust-number-prefix-0.4.
Date: Wed, 28 Sep 2022 06:53:48 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 3ff582b82b047f709b761ccf075809c66fef7957
Author: gyara <me@gyara.moe>
AuthorDate: Sat Aug 27 19:10:37 2022 +0900

    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>
---
 gnu/packages/crates-io.scm | 19 ++++++++++++++++---
 1 file 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]