diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-09-22 11:32:13 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-09-22 11:32:13 +0300 |
commit | 1ee22f1053963972440ad55ead69d4a4ceef02e5 (patch) | |
tree | bc8ac6396905f15bad97464df90d7dda39a064b1 /gnu | |
parent | 50de4bfe208b36e8cac56eb9942730d88b1e20e0 (diff) |
gnu: Add rust-scopeguard-1.
* gnu/packages/crates-io.scm (rust-scopeguard-1): New variable.
(rust-scopeguard-1.0): Inherit from rust-scopeguard-1.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6f5387c766..aa248258bf 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) |