[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/379: gnu: Add rust-ctor-0.2.
From: |
guix-commits |
Subject: |
10/379: gnu: Add rust-ctor-0.2. |
Date: |
Thu, 29 Jun 2023 12:32:04 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 8b42414945c70f51a8cec3df67c85ea544f53357
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu May 11 16:43:44 2023 +0300
gnu: Add rust-ctor-0.2.
* gnu/packages/crates-io.scm (rust-ctor-0.2): New variable.
(rust-ctor-0.1): Inherit from rust-ctor-0.2.
---
gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++-------
1 file changed, 26 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4134b9f5d1..a97428c3c1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16226,8 +16226,33 @@ use with sct crate.")
`(#:cargo-inputs
(("rust-sct" ,rust-sct-0.3))))))
+(define-public rust-ctor-0.2
+ (package
+ (name "rust-ctor")
+ (version "0.2.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "ctor" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "06rhrw85py0gkk7g99qk124mk6d5isq95nn3abc84fyf7zv5ch6x"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2))
+ #:cargo-development-inputs
+ (("rust-libc-print" ,rust-libc-print-0.1))))
+ (home-page "https://github.com/mmastrac/rust-ctor")
+ (synopsis "__attribute__((constructor)) for Rust")
+ (description
+ "This package provides an @code{__attribute__((constructor))} for Rust.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-ctor-0.1
(package
+ (inherit rust-ctor-0.2)
(name "rust-ctor")
(version "0.1.26")
(source
@@ -16237,18 +16262,12 @@ use with sct crate.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "15m0wqhv12p25xkxz5dxvg23r7a6bkh7p8zi1cdhgswjhdl028vd"))))
- (build-system cargo-build-system)
(arguments
(list #:cargo-inputs
`(("rust-syn" ,rust-syn-1)
("rust-quote" ,rust-quote-1))
#:cargo-development-inputs
- `(("rust-libc-print" ,rust-libc-print-0.1))))
- (home-page "https://github.com/mmastrac/rust-ctor")
- (synopsis "__attribute__((constructor)) for Rust")
- (description
- "This package provides an @code{__attribute__((constructor))} for Rust.")
- (license (list license:asl2.0 license:expat))))
+ `(("rust-libc-print" ,rust-libc-print-0.1))))))
(define-public rust-ctr-0.9
(package
- 11/379: gnu: Add rust-der-derive-0.7., (continued)
- 11/379: gnu: Add rust-der-derive-0.7., guix-commits, 2023/06/29
- 17/379: gnu: rust-generic-array-0.14: Update to 0.14.7., guix-commits, 2023/06/29
- 21/379: gnu: rust-is-terminal-0.4: Update to 0.4.7., guix-commits, 2023/06/29
- 22/379: gnu: rust-keccak-0.1: Update to 0.1.4., guix-commits, 2023/06/29
- 02/379: gnu: rust: Update to 1.68.2., guix-commits, 2023/06/29
- 03/379: gnu: rust-cargo-c: Update to 0.9.18., guix-commits, 2023/06/29
- 04/379: gnu: rust-base64ct-1: Update to 1.6.0., guix-commits, 2023/06/29
- 09/379: gnu: Add rust-crypto-bigint-0.5., guix-commits, 2023/06/29
- 08/379: gnu: Add rust-constant-time-eq-0.2., guix-commits, 2023/06/29
- 07/379: gnu: rust-const-oid-0.9: Update to 0.9.2., guix-commits, 2023/06/29
- 10/379: gnu: Add rust-ctor-0.2.,
guix-commits <=
- 12/379: gnu: Add rust-der-0.7., guix-commits, 2023/06/29
- 14/379: gnu: rust-ed25519-1: Update to 1.5.3., guix-commits, 2023/06/29
- 16/379: gnu: Add rust-ff-derive-0.13., guix-commits, 2023/06/29
- 18/379: gnu: Add rust-hermit-abi-0.3., guix-commits, 2023/06/29
- 15/379: gnu: Add rust-errno-0.3., guix-commits, 2023/06/29
- 20/379: gnu: rust-io-lifetimes-1: Update to 1.0.10., guix-commits, 2023/06/29
- 26/379: gnu: Add rust-pbkdf2-0.12., guix-commits, 2023/06/29
- 30/379: gnu: Add rust-phf-generator-0.11., guix-commits, 2023/06/29
- 35/379: gnu: rust-proptest-1: Update to 1.1.0., guix-commits, 2023/06/29
- 37/379: gnu: Add rust-rustix-0.37., guix-commits, 2023/06/29