From: Xinglu Chen <public@yoctocell.xyz>
To: Antero Mejr <antero@kodmin.com>, 48671@debbugs.gnu.org
Cc: Antero Mejr <antero@kodmin.com>
Subject: [bug#48671] [PATCH 06/11] gnu: Add rust-merge-0.1.
Date: Mon, 31 May 2021 22:51:29 +0200 [thread overview]
Message-ID: <877dje39v2.fsf@yoctocell.xyz> (raw)
In-Reply-To: <20210530214212.11807-6-antero@kodmin.com>
[-- Attachment #1: Type: text/plain, Size: 2518 bytes --]
On Sun, May 30 2021, Antero Mejr wrote:
> * gnu/packages/crates-io.scm (rust-merge-0.1): New variable.
> ---
> gnu/packages/crates-io.scm | 42 ++++++++++++++++++++++++++++++++++++++
> 1 file changed, 42 insertions(+)
The second package should be in a separate patch.
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index e41920652e..7250853f81 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -23390,6 +23390,48 @@ for Rust structs.")
> (sha256
> (base32 "13ir50j549gdz94pds1i7ljnk14d66q5x91s11hncm1pih7jif8c"))))))
>
> +(define-public rust-merge-0.1
> + (package
> + (name "rust-merge")
> + (version "0.1.0")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (crate-uri "merge" version))
> + (file-name (string-append name "-" version ".tar.gz"))
> + (sha256
> + (base32
> + "1sck0vhi9lk8a6mgky0rgn842fj7yspywidwbd963nmimf9yzfqh"))))
> + (build-system cargo-build-system)
> + (arguments
> + `(#:cargo-inputs
> + (("rust-merge-derive" ,rust-merge-derive-0.1)
> + ("rust-num-traits" ,rust-num-traits-0.2))))
> + (home-page "https://git.sr.ht/~ireas/merge-rs")
It also has a page on sr.ht, which contains links to the mailing list.
https://sr.ht/~ireas/merge-rs/
> + (synopsis "Rust trait for objects that can be merged")
> + (description "This package provides a merge trait that can be used
> +to merge two objects of the same type into one.")
> + (license (list license:asl2.0 license:expat))))
> +
> +(define-public rust-merge-derive-0.1
> + (package
> + (name "rust-merge-derive")
> + (version "0.1.0")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (crate-uri "merge_derive" version))
> + (file-name (string-append name "-" version ".tar.gz"))
> + (sha256
> + (base32 "01wxhi7mqmp34l540wcfb24hb13vcbps4wlynas66bnsfra0g790"))))
> + (build-system cargo-build-system)
> + (home-page
> + "https://git.sr.ht/~ireas/merge-rs/tree/master/merge_derive")
Same as above.
> + (synopsis "Derive macro for the merge crate")
> + (description "This crate provides a derive macro for the
> +merge::Merge crate. See the merge crate for more information.")
The last sentence doesn’t seem very helpful, it should be dropped.
Also, ‘merge::Merge’ should probably be formatted as
@code{merge::Merge}.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]
next prev parent reply other threads:[~2021-05-31 20:52 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-26 3:57 [bug#48671] [PATCH] Add nitrocli Antero Mejr
2021-05-27 6:59 ` Xinglu Chen
2021-05-27 7:11 ` Xinglu Chen
2021-05-30 21:42 ` [bug#48671] [PATCH 01/11] gnu: " Antero Mejr
2021-05-30 21:42 ` [bug#48671] [PATCH 02/11] gnu: Add rust-structopt-derive-0.4.14 Antero Mejr
2021-05-30 21:42 ` [bug#48671] [PATCH 03/11] gnu: Add rust-structopt-0.3.21 Antero Mejr
2021-05-30 21:42 ` [bug#48671] [PATCH 04/11] gnu: Add rust-progressing-3 Antero Mejr
2021-05-30 21:42 ` [bug#48671] [PATCH 05/11] gnu: Add rust-nitrokey-0.9 Antero Mejr
2021-05-30 21:42 ` [bug#48671] [PATCH 06/11] gnu: Add rust-merge-0.1 Antero Mejr
2021-05-31 20:51 ` Xinglu Chen [this message]
2021-05-30 21:42 ` [bug#48671] [PATCH 07/11] gnu: Add rust-envy-0.4 Antero Mejr
2021-05-30 21:42 ` [bug#48671] [PATCH 08/11] gnu: Add rust-base32-0.4 Antero Mejr
2021-05-30 21:42 ` [bug#48671] [PATCH 09/11] gnu: Add nitrocli Antero Mejr
2021-05-31 20:53 ` Xinglu Chen
2021-05-30 21:42 ` [bug#48671] [PATCH 10/11] " Antero Mejr
2021-05-30 21:42 ` [bug#48671] [PATCH 11/11] " Antero Mejr
2021-05-31 21:05 ` [bug#48671] [PATCH 01/11] " Xinglu Chen
2021-05-31 23:55 ` [bug#48671] [PATCH 1/9] " Antero Mejr
2021-05-31 23:55 ` [bug#48671] [PATCH 2/9] gnu: Add rust-structopt-derive-0.4.14 Antero Mejr
2021-05-31 23:55 ` [bug#48671] [PATCH 3/9] gnu: Add rust-structopt-0.3.21 Antero Mejr
2021-05-31 23:55 ` [bug#48671] [PATCH 4/9] gnu: Add rust-progressing-3 Antero Mejr
2021-05-31 23:55 ` [bug#48671] [PATCH 5/9] gnu: Add rust-nitrokey-0.9 Antero Mejr
2021-05-31 23:55 ` [bug#48671] [PATCH 6/9] gnu: Add rust-merge-0.1 Antero Mejr
2021-05-31 23:55 ` [bug#48671] [PATCH 7/9] gnu: Add rust-merge-derive-0.1 Antero Mejr
2021-05-31 23:55 ` [bug#48671] [PATCH 8/9] gnu: Add rust-envy-0.4 Antero Mejr
2021-05-31 23:55 ` [bug#48671] [PATCH 9/9] gnu: Add rust-base32-0.4 Antero Mejr
2021-06-01 21:48 ` [bug#48671] [PATCH 1/9] gnu: Add nitrocli Xinglu Chen
2021-06-05 20:38 ` bug#48671: " 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=877dje39v2.fsf@yoctocell.xyz \
--to=public@yoctocell.xyz \
--cc=48671@debbugs.gnu.org \
--cc=antero@kodmin.com \
/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.