unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: ".i mi" <lasnesne@lagunposprasihopre.org>
To: 46664@debbugs.gnu.org
Subject: [bug#46664] [PATCH] Update rust-cbindgen to 0.17.0
Date: Sun, 21 Feb 2021 00:11:10 +0900	[thread overview]
Message-ID: <3633fa29-f5dc-72bd-c63d-5429b1b8606d@lagunposprasihopre.org> (raw)

 From fa04b36a2a751019b2c63ad722a3ff44abf203a4 Mon Sep 17 00:00:00 2001
From: la snesne <lasnesne@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





             reply	other threads:[~2021-02-20 16:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-20 15:11 .i mi [this message]
2021-02-27  1:03 ` [bug#46664] [PATCH] Update rust-cbindgen to 0.17.0 .i mi
2021-02-27 11:27   ` bug#46664: " 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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=3633fa29-f5dc-72bd-c63d-5429b1b8606d@lagunposprasihopre.org \
    --to=lasnesne@lagunposprasihopre.org \
    --cc=46664@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).