[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/379: gnu: Add rust-der-derive-0.7.
From: |
guix-commits |
Subject: |
11/379: gnu: Add rust-der-derive-0.7. |
Date: |
Thu, 29 Jun 2023 12:32:04 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 551fb67e7e7f471bc4afc22c99e0c5f5acc51d77
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu May 11 16:46:27 2023 +0300
gnu: Add rust-der-derive-0.7.
* gnu/packages/crates-io.scm (rust-der-derive-0.7): New variable.
(rust-der-derive-0.4): Inherit from rust-der-derive-0.7.
---
gnu/packages/crates-io.scm | 37 ++++++++++++++++++++++++++++---------
1 file changed, 28 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a97428c3c1..6862f4903f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17794,8 +17794,35 @@ the Distinguished Encoding Rules (DER) for Abstract
Syntax Notation One
targets")
(license (list license:asl2.0 license:expat))))
+(define-public rust-der-derive-0.7
+ (package
+ (name "rust-der-derive")
+ (version "0.7.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "der-derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0cmyza28s52wfb67ymydjmvsc4m3sfp98dv9vprx6ibmdfx94iqi"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-proc-macro-error" ,rust-proc-macro-error-1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2))))
+ (home-page "https://github.com/RustCrypto/formats/tree/master/der/derive")
+ (synopsis
+ "Custom derive support for the `der` crate's `Choice` and `Sequence`
traits")
+ (description
+ "This package provides a custom derive support for the `der` crate's
+`Choice` and `Sequence` traits.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-der-derive-0.4
(package
+ (inherit rust-der-derive-0.7)
(name "rust-der-derive")
(version "0.4.1")
(source
@@ -17805,7 +17832,6 @@ targets")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0snv85yfy9iln05qsgbhwr1159gd0jfrgzj5dkrnricdc0y3pvca"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build?
#t ; FIXME
@@ -17813,14 +17839,7 @@ targets")
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1)
- ("rust-synstructure" ,rust-synstructure-0.12))))
- (home-page "https://github.com/RustCrypto/formats/tree/master/der/derive")
- (synopsis
- "Custom derive support for the `der` crate's `Choice` and `Sequence`
traits")
- (description
- "This package provides a custom derive support for the `der` crate's
-`Choice` and `Sequence` traits.")
- (license (list license:asl2.0 license:expat))))
+ ("rust-synstructure" ,rust-synstructure-0.12))))))
(define-public rust-der-oid-macro-0.5
(package
- branch rust-team created (now 2640c31ecb), guix-commits, 2023/06/29
- 01/379: gnu: crates-io.scm: Fix package references., guix-commits, 2023/06/29
- 05/379: gnu: Add rust-blake2b-simd-1., guix-commits, 2023/06/29
- 13/379: gnu: Add rust-des-0.8., guix-commits, 2023/06/29
- 06/379: gnu: rust-cargo: Update to 0.69.1., guix-commits, 2023/06/29
- 11/379: gnu: Add rust-der-derive-0.7.,
guix-commits <=
- 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, 2023/06/29