guix-commits
[Top][All Lists]
Advanced

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

02/08: gnu: Add rust-hex-0.4.


From: guix-commits
Subject: 02/08: gnu: Add rust-hex-0.4.
Date: Mon, 20 Jan 2020 10:55:08 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 166aca480e1bdc0932a3d0427d00fcb138bcf907
Author: John Soo <address@hidden>
AuthorDate: Wed Jan 15 09:36:59 2020 -0800

    gnu: Add rust-hex-0.4.
    
    * gnu/packages/crates-io.scm (rust-hex-0.4): New variable.
    (rust-hex-0.3): Inherit from rust-hex-0.4.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dc35887..7fb9349 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4303,18 +4303,19 @@ heap.")
 total runtime size of an object on the heap")
     (license license:mpl2.0)))
 
-(define-public rust-hex-0.3
+(define-public rust-hex-0.4
   (package
     (name "rust-hex")
-    (version "0.3.2")
+    (version "0.4.0")
     (source
       (origin
         (method url-fetch)
         (uri (crate-uri "hex" version))
-        (file-name (string-append name "-" version ".crate"))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
         (sha256
          (base32
-          "0xsdcjiik5j750j67zk42qdnmm4ahirk3gmkmcqgq7qls2jjcl40"))))
+          "0glsfrx2pxfsf6ivxj7vfrvd7g78j4z47ssgm5idm8p376z3jfq2"))))
     (build-system cargo-build-system)
     (arguments '(#:skip-build? #t))
     (home-page "https://github.com/KokaKiwi/rust-hex";)
@@ -4324,6 +4325,20 @@ hexadecimal representation.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-hex-0.3
+  (package
+    (inherit rust-hex-0.4)
+    (name "rust-hex")
+    (version "0.3.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "hex" version))
+        (file-name (string-append name "-" version ".crate"))
+        (sha256
+         (base32
+          "0xsdcjiik5j750j67zk42qdnmm4ahirk3gmkmcqgq7qls2jjcl40"))))))
+
 (define-public rust-hex-literal-0.2
   (package
     (name "rust-hex-literal")



reply via email to

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