[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#46192] [PATCH 04/22] gnu: Add rust-enum-primitive-0.1.
From: |
aecepoglu |
Subject: |
[bug#46192] [PATCH 04/22] gnu: Add rust-enum-primitive-0.1. |
Date: |
Sun, 31 Jan 2021 01:42:36 +0300 |
* gnu/packages/crates-io.scm (rust-enum-primitive-0.1): New variable.
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6988b999b8..57af1dc2ab 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10731,6 +10731,33 @@ accessor functions on enums.")
("rust-quote" ,rust-quote-0.6)
("rust-syn" ,rust-syn-0.15))))))
+(define-public rust-enum-primitive-0.1
+ (package
+ (name "rust-enum-primitive")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "enum_primitive" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "100ip2p3w1rq0clca2ai5shhvpxfipnsjncj0f9ralad5w4m2idy"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-num-traits" ,rust-num-traits-0.1))))
+ (home-page
+ "https://github.com/andersk/enum_primitive-rs")
+ (synopsis
+ "Macro to generate @code{num::FromPrimitive} instances for enum that
works
+ in Rust 1.0")
+ (description
+ "This package provides a macro named @code{enum_from_primitive!} to
generate
+ @code{num::FromPrimitive} instances for enum that works in Rust 1.0")
+ (license license:expat)))
+
(define-public rust-enum-to-u8-slice-derive-0.1
(package
(name "rust-enum-to-u8-slice-derive")
--
2.30.0
- [bug#46192] [PATCH 22/22] gnu: Add kak-lsp., (continued)
- [bug#46192] [PATCH 22/22] gnu: Add kak-lsp., aecepoglu, 2021/01/30
- [bug#46192] [PATCH 16/22] gnu: Add rust-slog-stdlog-3., aecepoglu, 2021/01/30
- [bug#46192] [PATCH 17/22] gnu: Add rust-slog-scope-4., aecepoglu, 2021/01/30
- [bug#46192] [PATCH 18/22] gnu: Add rust-slog-kvfilter-0.7., aecepoglu, 2021/01/30
- [bug#46192] [PATCH 20/22] gnu: Add rust-sloggers-0.3., aecepoglu, 2021/01/30
- [bug#46192] [PATCH 19/22] gnu: Add rust-slog-async-2., aecepoglu, 2021/01/30
- [bug#46192] [PATCH 01/22] gnu: Add rust-boxfnonce-0.1., Nicolas Goaziou, 2021/01/30
- [bug#46192] [PATCH 01/22] gnu: Add rust-boxfnonce-0.1., aecepoglu, 2021/01/30
- [bug#46192] [PATCH 02/22] gnu: Add rust-daemonize-0.4., aecepoglu, 2021/01/30
- [bug#46192] [PATCH 05/22] gnu: Add rust-ropey-1., aecepoglu, 2021/01/30
- [bug#46192] [PATCH 04/22] gnu: Add rust-enum-primitive-0.1.,
aecepoglu <=
- [bug#46192] [PATCH 03/22] gnu: Add rust-jsonrpc-core-14., aecepoglu, 2021/01/30
- [bug#46192] [PATCH 06/22] gnu: Add rust-serde-repl-0.1., aecepoglu, 2021/01/30
- [bug#46192] [PATCH 08/22] gnu: Add rust-automod-0.1., aecepoglu, 2021/01/30
- [bug#46192] [PATCH 09/22] gnu: Add rust-rmp-0.8., aecepoglu, 2021/01/30
- [bug#46192] [PATCH 10/22] gnu: Add rust-rmp-serde-0.13., aecepoglu, 2021/01/30
- [bug#46192] [PATCH 07/22] gnu: Add rust-lsp-types-0.73., aecepoglu, 2021/01/30
- [bug#46192] [PATCH 11/22] gnu: Add rust-serdeconv-0.3., aecepoglu, 2021/01/30
- [bug#46192] [PATCH 12/22] gnu: Add rust-trackable-derive-0.1., aecepoglu, 2021/01/30
- [bug#46192] [PATCH 14/22] gnu: Add rust-slog-term-2., aecepoglu, 2021/01/30
- [bug#46192] [PATCH 15/22] gnu: Add rust-crossbeam-0.2., aecepoglu, 2021/01/30