all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: aecepoglu <aecepoglu@fastmail.fm>
To: 46192@debbugs.gnu.org
Subject: [bug#46192] [PATCH 04/22] gnu: Add rust-enum-primitive-0.1.
Date: Sat, 30 Jan 2021 17:29:15 +0300	[thread overview]
Message-ID: <20210130142915.gkrg2vo77chyqcyn@minitower> (raw)
In-Reply-To: <20210130141347.olmrgflwxkhi2qrw@minitower>

* 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 d863ef1ad6..b6d882e777 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
+      "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





  parent reply	other threads:[~2021-01-30 14:27 UTC|newest]

Thread overview: 84+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-30 14:13 [bug#46192] [PATCH 01/22] gnu: Add rust-boxfnonce-0.1 aecepoglu
2021-01-30 14:26 ` [bug#46192] [PATCH 02/22] gnu: Add rust-daemonize-0.4 aecepoglu
2021-01-30 14:28 ` [bug#46192] [PATCH 03/22] gnu: Add rust-jsonrpc-core-14 aecepoglu
2021-01-30 14:29 ` aecepoglu [this message]
2021-01-30 14:29 ` [bug#46192] [PATCH 05/22] gnu: Add rust-ropey-1 aecepoglu
2021-01-30 14:29 ` [bug#46192] [PATCH 06/22] gnu: Add rust-serde-repl-0.1 aecepoglu
2021-01-30 14:30 ` [bug#46192] [PATCH 07/22] gnu: Add rust-lsp-types-0.73 aecepoglu
2021-01-30 14:30 ` [bug#46192] [PATCH 08/22] gnu: Add rust-automod-0.1 aecepoglu
2021-01-30 17:46   ` Nicolas Goaziou
2021-01-30 14:30 ` [bug#46192] [PATCH 09/22] gnu: Add rust-rmp-0.8 aecepoglu
2021-01-30 14:32 ` [bug#46192] [PATCH 10/22] gnu: Add rust-rmp-serde-0.13 aecepoglu
2021-01-30 14:32 ` [bug#46192] [PATCH 11/22] gnu: Add rust-serdeconv-0.3 aecepoglu
2021-01-30 14:33 ` [bug#46192] [PATCH 12/22] gnu: Add rust-trackable-derive-0.1 aecepoglu
2021-01-30 14:33 ` [bug#46192] [PATCH 13/22] gnu: Add rust-trackable-0.2 aecepoglu
2021-01-30 14:33 ` [bug#46192] [PATCH 14/22] gnu: Add rust-slog-term-2 aecepoglu
2021-01-30 14:33 ` [bug#46192] [PATCH 15/22] gnu: Add rust-crossbeam-0.2 aecepoglu
2021-01-30 17:49   ` Nicolas Goaziou
2021-01-30 14:33 ` [bug#46192] [PATCH 16/22] gnu: Add rust-slog-stdlog-3 aecepoglu
2021-01-30 14:33 ` [bug#46192] [PATCH 17/22] gnu: Add rust-slog-scope-4 aecepoglu
2021-01-30 14:33 ` [bug#46192] [PATCH 18/22] gnu: Add rust-slog-kvfilter-0.7 aecepoglu
2021-01-30 14:33 ` [bug#46192] [PATCH 19/22] gnu: Add rust-slog-async-2 aecepoglu
2021-01-30 14:34 ` [bug#46192] [PATCH 20/22] gnu: Add rust-sloggers-0.3 aecepoglu
2021-01-30 14:34 ` [bug#46192] [PATCH 21/22] gnu: Add rust-whoami-0.8 aecepoglu
2021-01-30 14:34 ` [bug#46192] [PATCH 22/22] gnu: Add kak-lsp aecepoglu
2021-01-30 17:51 ` [bug#46192] [PATCH 01/22] gnu: Add rust-boxfnonce-0.1 Nicolas Goaziou
2021-01-30 22:42 ` aecepoglu
2021-01-30 22:42 ` [bug#46192] [PATCH 02/22] gnu: Add rust-daemonize-0.4 aecepoglu
2021-01-30 22:42 ` [bug#46192] [PATCH 03/22] gnu: Add rust-jsonrpc-core-14 aecepoglu
2021-01-30 22:42 ` [bug#46192] [PATCH 04/22] gnu: Add rust-enum-primitive-0.1 aecepoglu
2021-01-30 22:43 ` [bug#46192] [PATCH 05/22] gnu: Add rust-ropey-1 aecepoglu
2021-01-30 22:43 ` [bug#46192] [PATCH 06/22] gnu: Add rust-serde-repl-0.1 aecepoglu
2021-01-30 22:43 ` [bug#46192] [PATCH 07/22] gnu: Add rust-lsp-types-0.73 aecepoglu
2021-01-30 22:43 ` [bug#46192] [PATCH 08/22] gnu: Add rust-automod-0.1 aecepoglu
2021-01-30 22:44 ` [bug#46192] [PATCH 09/22] gnu: Add rust-rmp-0.8 aecepoglu
2021-01-30 22:44 ` [bug#46192] [PATCH 10/22] gnu: Add rust-rmp-serde-0.13 aecepoglu
2021-01-30 22:44 ` [bug#46192] [PATCH 11/22] gnu: Add rust-serdeconv-0.3 aecepoglu
2021-01-30 22:44 ` [bug#46192] [PATCH 12/22] gnu: Add rust-trackable-derive-0.1 aecepoglu
2021-01-30 22:44 ` [bug#46192] [PATCH 13/22] gnu: Add rust-trackable-0.2 aecepoglu
2021-01-30 22:44 ` [bug#46192] [PATCH 14/22] gnu: Add rust-slog-term-2 aecepoglu
2021-01-30 22:44 ` [bug#46192] [PATCH 15/22] gnu: Add rust-crossbeam-0.2 aecepoglu
2021-01-30 22:44 ` [bug#46192] [PATCH 16/22] gnu: Add rust-slog-stdlog-3 aecepoglu
2021-01-30 22:44 ` [bug#46192] [PATCH 17/22] gnu: Add rust-slog-scope-4 aecepoglu
2021-01-30 22:44 ` [bug#46192] [PATCH 18/22] gnu: Add rust-slog-kvfilter-0.7 aecepoglu
2021-01-30 22:44 ` [bug#46192] [PATCH 19/22] gnu: Add rust-slog-async-2 aecepoglu
2021-01-30 22:45 ` [bug#46192] [PATCH 20/22] gnu: Add rust-sloggers-0.3 aecepoglu
2021-01-30 22:45 ` [bug#46192] [PATCH 21/22] gnu: Add rust-whoami-0.8 aecepoglu
2021-01-30 22:45 ` [bug#46192] [PATCH 22/22] gnu: Add kak-lsp aecepoglu
2021-02-03 11:44 ` [bug#46192] [PATCH 03/22] gnu: Add rust-jsonrpc-core-14 aecepoglu
2021-02-03 11:44 ` [bug#46192] [PATCH 07/22] gnu: Add rust-lsp-types-0.73 aecepoglu
2021-02-03 11:47 ` [bug#46192] [PATCH 10/22] gnu: Add rust-rmp-serde-0.13 aecepoglu
2021-02-03 11:47 ` [bug#46192] [PATCH 05/22] gnu: Add rust-ropey-1 aecepoglu
2021-02-03 11:48 ` [bug#46192] [PATCH 11/22] gnu: Add rust-serdeconv-0.3 aecepoglu
2021-02-03 11:48 ` [bug#46192] [PATCH 19/22] gnu: Add rust-slog-async-2 aecepoglu
2021-02-03 11:49 ` [bug#46192] [PATCH 17/22] gnu: Add rust-slog-scope-4 aecepoglu
2021-02-03 11:50 ` [bug#46192] [PATCH 16/22] gnu: Add rust-slog-stdlog-3 aecepoglu
2021-02-03 11:50 ` [bug#46192] [PATCH 14/22] gnu: Add rust-slog-term-2 aecepoglu
2021-02-03 11:52 ` [bug#46192] [PATCH 20/22] gnu: Add rust-sloggers-0.3 aecepoglu
2021-02-03 11:54 ` [bug#46192] [PATCH 13/22] gnu: Add rust-trackable-0.2 aecepoglu
2021-02-03 11:55 ` [bug#46192] [PATCH 12/22] gnu: Add rust-trackable-derive-0.1 aecepoglu
2021-02-03 11:56 ` [bug#46192] [PATCH 21/22] gnu: Add rust-whoami-0.8 aecepoglu
2021-02-03 12:10 ` [bug#46192] [PATCH 23/22] gnu: Add rust-adaptive-barrier-0.1 aecepoglu
2021-02-03 12:10 ` [bug#46192] [PATCH 24/22] gnu: Add rust-arc-swap-1 aecepoglu
2021-02-04 11:35 ` [bug#46192] [PATCH 01/21] gnu: Add rust-boxfnonce-0.1 aecepoglu
2021-02-04 11:35 ` [bug#46192] [PATCH 02/21] gnu: Add rust-daemonize-0.4 aecepoglu
2021-02-04 11:37 ` [bug#46192] [PATCH 03/21] gnu: Add rust-enum-primitive-0.1 aecepoglu
2021-02-04 11:37 ` [bug#46192] [PATCH 04/21] gnu: Add rust-jsonrpc-core-14 aecepoglu
2021-02-04 11:37 ` [bug#46192] [PATCH 05/21] gnu: Add rust-serde-repr-0.1 aecepoglu
2021-02-04 11:37 ` [bug#46192] [PATCH 06/21] gnu: Add rust-lsp-types-0.80 aecepoglu
2021-02-04 11:38 ` [bug#46192] [PATCH 07/21] gnu: Add rust-ropey-1 aecepoglu
2021-02-04 11:38 ` [bug#46192] [PATCH 08/21] gnu: Add rust-slog-scope-4 aecepoglu
2021-02-04 11:38 ` [bug#46192] [PATCH 09/21] gnu: Add rust-whoami-0.8 aecepoglu
2021-02-04 11:38 ` [bug#46192] [PATCH 10/21] gnu: Add rust-adaptive-barrier-0.1 aecepoglu
2021-02-04 11:38 ` [bug#46192] [PATCH 11/21] gnu: Add rust-slog-async-2 aecepoglu
2021-02-04 11:38 ` [bug#46192] [PATCH 12/21] gnu: Add rust-slog-term-2 aecepoglu
2021-02-04 11:38 ` [bug#46192] [PATCH 13/21] gnu: Add rust-slog-kvfilter-0.7 aecepoglu
2021-02-04 11:38 ` [bug#46192] [PATCH 14/21] gnu: Add rust-arc-swap-1 aecepoglu
2021-02-04 11:38 ` [bug#46192] [PATCH 15/21] gnu: Add rust-slog-stdlog-4 aecepoglu
2021-02-04 11:38 ` [bug#46192] [PATCH 16/21] gnu: Add rust-trackable-derive-1 aecepoglu
2021-02-04 11:38 ` [bug#46192] [PATCH 17/21] gnu: Add rust-trackable-1 aecepoglu
2021-02-04 11:38 ` [bug#46192] [PATCH 18/21] gnu: Add rust-rmp-0.8 aecepoglu
2021-02-04 11:39 ` [bug#46192] [PATCH 19/21] gnu: Add rust-rmp-serde-0.14 aecepoglu
2021-02-04 11:39 ` [bug#46192] [PATCH 20/21] gnu: Add rust-serdeconv-0.4 aecepoglu
2021-02-04 11:39 ` [bug#46192] [PATCH 21/21] gnu: Add kak-lsp aecepoglu
2021-02-04 15:12   ` bug#46192: " Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210130142915.gkrg2vo77chyqcyn@minitower \
    --to=aecepoglu@fastmail.fm \
    --cc=46192@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.