guix-commits
[Top][All Lists]
Advanced

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

01/03: gnu: Add rust-static-assertions-1.


From: guix-commits
Subject: 01/03: gnu: Add rust-static-assertions-1.
Date: Tue, 16 Jun 2020 05:56:10 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 6675cd8c2408e8eecf652950da2b1a13df66c6d6
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jun 16 12:46:58 2020 +0300

    gnu: Add rust-static-assertions-1.
    
    * gnu/packages/crates-io.scm (rust-static-assertions-1): New variable.
    (rust-static-assertions-0.3): Inherit from rust-static-assertions-1.
---
 gnu/packages/crates-io.scm | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 30e00b3..c7145c8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21861,10 +21861,10 @@ deeply recursive algorithms that may accidentally 
blow the stack.")
      "StackVec: vector-like facade for stack-allocated arrays.")
     (license (list license:asl2.0 license:expat))))
 
-(define-public rust-static-assertions-0.3
+(define-public rust-static-assertions-1
   (package
     (name "rust-static-assertions")
-    (version "0.3.4")
+    (version "1.1.0")
     (source
       (origin
         (method url-fetch)
@@ -21872,7 +21872,7 @@ deeply recursive algorithms that may accidentally blow 
the stack.")
         (file-name (string-append name "-" version ".crate"))
         (sha256
          (base32
-          "1lw33i89888yb3x29c6dv4mrkg3534n0rlg3r7qzh4p58xmv6gkz"))))
+          "0gsl6xmw10gvn3zs1rv99laj5ig7ylffnh71f9l34js4nr4r7sx2"))))
     (build-system cargo-build-system)
     (home-page "https://github.com/nvzqz/static-assertions-rs";)
     (synopsis "Compile-time assertions for rust")
@@ -21881,6 +21881,20 @@ deeply recursive algorithms that may accidentally blow 
the stack.")
 are met.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-static-assertions-0.3
+  (package
+    (inherit rust-static-assertions-1)
+    (name "rust-static-assertions")
+    (version "0.3.4")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "static-assertions" version))
+        (file-name (string-append name "-" version ".crate"))
+        (sha256
+         (base32
+          "1lw33i89888yb3x29c6dv4mrkg3534n0rlg3r7qzh4p58xmv6gkz"))))))
+
 (define-public rust-stb-truetype-0.3
   (package
     (name "rust-stb-truetype")



reply via email to

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