GNU bug report logs -
#43705
[PATCH] gnu: Add rust-multi-default-trait-impl-0.1.
Previous Next
Reported by: André Batista <nandre <at> riseup.net>
Date: Tue, 29 Sep 2020 13:45:01 UTC
Severity: normal
Tags: patch
Done: Efraim Flashner <efraim <at> flashner.co.il>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 43705 in the body.
You can then email your comments to 43705 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#43705
; Package
guix-patches
.
(Tue, 29 Sep 2020 13:45:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
André Batista <nandre <at> riseup.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Tue, 29 Sep 2020 13:45:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
[0001-gnu-Add-rust-multi-default-trait-impl-0.1.patch (text/plain, inline)]
From 1e3ef9dba78e07d35c129be0d881a000343568fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Batista?= <nandre <at> riseup.net>
Date: Tue, 29 Sep 2020 09:38:21 -0300
Subject: [PATCH] gnu: Add rust-multi-default-trait-impl-0.1.
To: guix-patches <at> gnu.org
* gnu/packages/crates-io.scm (rust-multi-default-trait-impl-0.1): New variable.
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7cb2fd40cb..fda2be471d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9,6 +9,7 @@
;;; Copyright © 2020 Jakub Kądziołka <kuba <at> kadziolka.net>
;;; Copyright © 2020 Leo Famulari <leo <at> famulari.name>
;;; Copyright © 2020 Gabriel Arazas <foo.dogsquared <at> gmail.com>
+;;; Copyright © 2020 André Batista <nandre <at> riseup.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -14630,6 +14631,35 @@ checking.")
(description
"Chaining APIs for both self -> Self and &mut self methods.")
(license license:expat)))
+
+(define-public rust-multi-default-trait-impl-0.1
+ (package
+ (name "rust-multi-default-trait-impl")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "multi-default-trait-impl" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1r6y5zb6kg655zi02yk4amkwsgds5ay9ag1dk30cls7rn3dlvvqs"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; No tests.
+ #:cargo-inputs
+ (("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/hainish/multi-default-trait-impl")
+ (synopsis "Define multiple implementations of trait")
+ (description
+ "This library contains two attribute macros: @code{default_trait_impl}
+which defines a default trait implementation, and @code{trait_impl} which uses
+a default trait implementation you've defined.")
+ (license license:lgpl2.1+)))
(define-public rust-nasm-rs-0.1
(package
--
2.28.0
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Efraim Flashner <efraim <at> flashner.co.il>
:
You have taken responsibility.
(Wed, 30 Sep 2020 08:28:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
André Batista <nandre <at> riseup.net>
:
bug acknowledged by developer.
(Wed, 30 Sep 2020 08:28:01 GMT)
Full text and
rfc822 format available.
Message #10 received at 43705-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I adjusted the indentation, removed the stray space above the package
definition and re-enabled the tests. They could always be written and
added later :)
Patch pushed! Thanks.
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 28 Oct 2020 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 231 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.