guix-commits
[Top][All Lists]
Advanced

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

03/04: gnu: Add rust-scopeguard-1.


From: guix-commits
Subject: 03/04: gnu: Add rust-scopeguard-1.
Date: Tue, 22 Sep 2020 04:41:24 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 1ee22f1053963972440ad55ead69d4a4ceef02e5
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Sep 22 11:32:13 2020 +0300

    gnu: Add rust-scopeguard-1.
    
    * gnu/packages/crates-io.scm (rust-scopeguard-1): New variable.
    (rust-scopeguard-1.0): Inherit from rust-scopeguard-1.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6f5387c..aa24825 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22627,10 +22627,10 @@ library's old @code{scoped_thread_local!} macro for 
providing scoped access to
          (base32
           "0a2bn9d2mb07c6l16sadijy4p540g498zddfxyiq4rsqpwrglbrk"))))))
 
-(define-public rust-scopeguard-1.0
+(define-public rust-scopeguard-1
   (package
     (name "rust-scopeguard")
-    (version "1.0.0")
+    (version "1.1.0")
     (source
       (origin
         (method url-fetch)
@@ -22638,9 +22638,8 @@ library's old @code{scoped_thread_local!} macro for 
providing scoped access to
         (file-name (string-append name "-" version ".crate"))
         (sha256
          (base32
-          "03aay84r1f6w87ckbpj6cc4rnsxkxcfs13n5ynxjia0qkgjiabml"))))
+          "1kbqm85v43rq92vx7hfiay6pmcga03vrjbbfwqpyj3pwsg3b16nj"))))
     (build-system cargo-build-system)
-    (arguments '(#:skip-build? #t))
     (home-page "https://github.com/bluss/scopeguard";)
     (synopsis "Scope guard which will run a closure even out of scope")
     (description "This package provides a RAII scope guard that will run a
@@ -22651,6 +22650,21 @@ with one of the implemented strategies.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-scopeguard-1.0
+  (package
+    (inherit rust-scopeguard-1)
+    (name "rust-scopeguard")
+    (version "1.0.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "scopeguard" version))
+        (file-name (string-append name "-" version ".crate"))
+        (sha256
+         (base32
+          "03aay84r1f6w87ckbpj6cc4rnsxkxcfs13n5ynxjia0qkgjiabml"))))
+    (arguments '(#:skip-build? #t))))
+
 (define-public rust-scopeguard-0.3
   (package
     (inherit rust-scopeguard-1.0)



reply via email to

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