GNU bug report logs - #46664
[PATCH] Update rust-cbindgen to 0.17.0

Previous Next

Package: guix-patches;

Reported by: ".i mi" <lasnesne <at> lagunposprasihopre.org>

Date: Sat, 20 Feb 2021 16:27:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: ".i mi" <lasnesne <at> lagunposprasihopre.org>
Subject: bug#46664: closed (Re: [bug#46664] [PATCH] Update rust-cbindgen
 to 0.17.0)
Date: Sat, 27 Feb 2021 11:28:01 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#46664: [PATCH] Update rust-cbindgen to 0.17.0

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 46664 <at> debbugs.gnu.org.

-- 
46664: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=46664
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: ".i mi" <lasnesne <at> lagunposprasihopre.org>
Cc: 46664-done <at> debbugs.gnu.org
Subject: Re: [bug#46664] [PATCH] Update rust-cbindgen to 0.17.0
Date: Sat, 27 Feb 2021 12:27:25 +0100
Hello,

".i mi" <lasnesne <at> lagunposprasihopre.org> writes:

> Subject: [PATCH] Update rust-cbindgen to 0.17.0

I changed the commit message, because you're adding a new variable.

Applied. Thank you!

Regards,
-- 
Nicolas Goaziou

[Message part 3 (message/rfc822, inline)]
From: ".i mi" <lasnesne <at> lagunposprasihopre.org>
To: guix-patches <at> gnu.org
Subject: [PATCH] Update rust-cbindgen to 0.17.0
Date: Sun, 21 Feb 2021 00:11:10 +0900
From fa04b36a2a751019b2c63ad722a3ff44abf203a4 Mon Sep 17 00:00:00 2001
From: la snesne <lasnesne <at> lagunposprasihopre.org>
Date: Sat, 20 Feb 2021 23:47:52 +0900
Subject: [PATCH] Update rust-cbindgen to 0.17.0

---
 gnu/packages/rust-apps.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index d10008c9ca..d5567b8873 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -41,6 +41,7 @@
   #:use-module (gnu packages jemalloc)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages version-control))

@@ -453,6 +454,38 @@ gitignore rules.")
      "This package provides a tool for generating C/C++ bindings to 
Rust code.")
     (license license:mpl2.0)))

+(define-public rust-cbindgen-0.17
+  (package
+    (inherit rust-cbindgen)
+    (name "rust-cbindgen")
+    (version "0.17.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "cbindgen" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+ "1f40hxj6h7wqmsj8dzxjm3m421hjqpz2m5zxasbn8kgnr6scykvl"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-clap" ,rust-clap-2)
+        ("rust-heck" ,rust-heck-0.3)
+        ("rust-indexmap" ,rust-indexmap-1)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-syn" ,rust-syn-1)
+        ("rust-tempfile" ,rust-tempfile-3)
+        ("rust-toml" ,rust-toml-0.5))
+       #:cargo-development-inputs
+       (("rust-serial-test" ,rust-serial-test-0.5))))
+    (native-inputs
+     `(("python-cython" ,python-cython)))))
+
 (define-public rust-cbindgen-0.16
   (package
     (inherit rust-cbindgen)
-- 
2.30.1




This bug report was last modified 4 years and 168 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.