[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/62: gnu: Add rust-as-variant-1.
From: |
guix-commits |
Subject: |
03/62: gnu: Add rust-as-variant-1. |
Date: |
Wed, 13 Mar 2024 16:22:13 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 958f8805cae0c223c6fcbb75fd308a2c72c45953
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:02:02 2024 +0100
gnu: Add rust-as-variant-1.
* gnu/packages/crates-io.scm (rust-as-variant-1): Add variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0e7cb09bc8..f5b00e28a5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3246,6 +3246,25 @@ the abi_stable and structural crates.")
("rust-serde-derive" ,rust-serde-derive-1)
("rust-syn" ,rust-syn-1))))))
+(define-public rust-as-variant-1
+ (package
+ (name "rust-as-variant")
+ (version "1.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "as_variant" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "13vryhfcslf50f8j1msnxg5689bzwz56z45dgzxqd7r40wis53zk"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/jplatte/as_variant")
+ (synopsis "Macro to convert enums with newtype variants to Option")
+ (description
+ "This package provides a simple macro to convert enums with newtype
+variants to `Option`s.")
+ (license license:mpl2.0)))
+
(define-public rust-asio-sys-0.2
(package
(name "rust-asio-sys")
- branch rust-team updated (b5abd9a435 -> aec00d246e), guix-commits, 2024/03/13
- 02/62: gnu: Add rust-anymap2-0.13., guix-commits, 2024/03/13
- 01/62: gnu: Place rust-rtnetlink-0.14 in alphabetical order., guix-commits, 2024/03/13
- 03/62: gnu: Add rust-as-variant-1.,
guix-commits <=
- 05/62: gnu: Add rust-cfg-vis-0.3., guix-commits, 2024/03/13
- 09/62: gnu: Add rust-proptest-derive-0.4., guix-commits, 2024/03/13
- 07/62: gnu: rust-gloo-timers-0.2: Update to 0.2.6., guix-commits, 2024/03/13
- 06/62: gnu: Add rust-gloo-timers-0.3., guix-commits, 2024/03/13
- 16/62: gnu: Add rust-stream-assert-0.1., guix-commits, 2024/03/13
- 18/62: gnu: Place rust-rusticata-macros-4 in alphabetical order., guix-commits, 2024/03/13
- 19/62: gnu: Place rust-rpds-1 in alphabetical order., guix-commits, 2024/03/13
- 21/62: gnu: Place rust-rpassword-6 in alphabetical order., guix-commits, 2024/03/13
- 13/62: gnu: Place rust-uom-0.34 in alphabetical order., guix-commits, 2024/03/13
- 10/62: gnu: Add rust-bitmaps-3., guix-commits, 2024/03/13