[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/66: gnu: Add rust-rental-0.5.
From: |
guix-commits |
Subject: |
04/66: gnu: Add rust-rental-0.5. |
Date: |
Tue, 24 Oct 2023 07:54:43 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit bcbcba19a8a2f4a312b8da8234bc1778a3214f69
Author: Steve George <steve@futurile.net>
AuthorDate: Mon Oct 23 23:20:50 2023 +0100
gnu: Add rust-rental-0.5.
* gnu/packages/crates-io.scm (rust-rental-0.5): New variable.
(rust-rental-impl-0.5): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I03878fc540be2aced8c3952d7d78275c0b0c3e54
---
gnu/packages/crates-io.scm | 49 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f94526c8a2..6f1da5a6bc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56777,6 +56777,55 @@ crate unless you're working on a regex
implementation.")
Rust.")
(license license:expat)))
+(define-public rust-rental-0.5
+ (package
+ (name "rust-rental")
+ (version "0.5.6")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "rental" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0bhzz2pfbg0yaw8p1l31bggq4jn077wslf6ifhj22vf3r8mgx2fc"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list #:tests? #f ; cannot move out of `foo` because it is borrowed
+ #:cargo-inputs
+ `(("rust-rental-impl" ,rust-rental-impl-0.5)
+ ("rust-stable-deref-trait" ,rust-stable-deref-trait-1))))
+ (home-page "https://github.com/jpernst/rental")
+ (synopsis "Macro to generate safe self-referential structs")
+ (description
+ "A macro to generate safe self-referential structs, plus
+premade types for common use-cases. This crate is frozen and should be
+avoided if possible.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-rental-impl-0.5
+ (package
+ (name "rust-rental-impl")
+ (version "0.5.5")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "rental-impl" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1pj0qgmvwwsfwyjqyjxzikkwbwc3vj7hm3hdykr47dy5inbnhpj7"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list #:skip-build? #f
+ #:cargo-inputs
+ `(("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/jpernst/rental")
+ (synopsis "Implementation details of the rust-rental crate")
+ (description "Implementation details for the rust-rental crate.
+Should not be used directly.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-reopen-0.3
(package
(name "rust-reopen")
- branch master updated (7383d15641 -> f8dfe85a36), guix-commits, 2023/10/24
- 06/66: gnu: Add rust-parking-lot-0.4., guix-commits, 2023/10/24
- 02/66: gnu: Add rust-owning-ref-0.3., guix-commits, 2023/10/24
- 03/66: gnu: Add rust-parking-lot-core-0.2., guix-commits, 2023/10/24
- 07/66: gnu: Add rust-alto-3., guix-commits, 2023/10/24
- 05/66: gnu: Add rust-al-sys-0.6., guix-commits, 2023/10/24
- 01/66: gnu: Add rust-ogg-0.8., guix-commits, 2023/10/24
- 04/66: gnu: Add rust-rental-0.5.,
guix-commits <=
- 11/66: gnu: Add rust-alsa-0.6, guix-commits, 2023/10/24
- 12/66: gnu: Add rust-coreaudio-sys-0.2., guix-commits, 2023/10/24
- 08/66: gnu: Add rust-lewton-0.10., guix-commits, 2023/10/24
- 09/66: gnu: Add rust-alsa-sys-0.3., guix-commits, 2023/10/24
- 10/66: gnu: Add rust-alsa-0.7., guix-commits, 2023/10/24
- 13/66: gnu: Add rust-coreaudio-rs-0.10., guix-commits, 2023/10/24
- 14/66: gnu: Add rust-ndk-sys-0.3., guix-commits, 2023/10/24
- 15/66: gnu: Add rust-ndk-0.6., guix-commits, 2023/10/24
- 16/66: gnu: Add rust-ndk-glue-0.6., guix-commits, 2023/10/24
- 17/66: gnu: Add rust-fetch-unroll-0.3., guix-commits, 2023/10/24