all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Zheng Junjie <873216071@qq.com>
To: 48956@debbugs.gnu.org
Cc: Zheng junjie <873216071@qq.com>
Subject: [bug#48956] [PATCH 15/58] gnu: Add rust-libloading-0.7.
Date: Fri, 11 Jun 2021 19:44:51 +0800	[thread overview]
Message-ID: <tencent_204B726A6537D153A9B31CFE60756ACA9109@qq.com> (raw)
In-Reply-To: <20210611114534.1526-1-873216071@qq.com>

From: Zheng junjie <873216071@qq.com>

* gnu/packages/crates-io.scm (rust-libloading-0.7): New variable.
(rust-libloading-0.6): inherit from above.
---
 gnu/packages/crates-io.scm | 38 +++++++++++++++++++++++++++++++-------
 1 file changed, 31 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 51f7577aef..715297f9cb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22864,8 +22864,38 @@ library.")
         (snippet
          '(begin (delete-file-recursively "libgit2") #t))))))
 
+(define-public rust-libloading-0.7
+  (package
+    (name "rust-libloading")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libloading" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0sidr67nsa693mqrqgk2np3bkqni0778yk147xncspy171jdk13g"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-cfg-if" ,rust-cfg-if-1)
+        ("rust-winapi" ,rust-winapi-0.3))
+       #:cargo-development-inputs
+       (("rust-libc" ,rust-libc-0.2)
+        ("rust-static-assertions"
+         ,rust-static-assertions-1))))
+    (home-page "https://github.com/nagisa/rust_libloading/")
+    (synopsis "Safer binding to dynamic library loading utilities")
+    (description "This package provides a safer binding to dynamic library
+loading utilities.")
+    (license license:isc)))
+
 (define-public rust-libloading-0.6
   (package
+    (inherit rust-libloading-0.7)
     (name "rust-libloading")
     (version "0.6.7")
     (source
@@ -22875,7 +22905,6 @@ library.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "10wq4a4jkman8k6y0v2cw3d38y1h3rw6d2in5klggm8jg90k46im"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #true
        #:cargo-inputs
@@ -22886,12 +22915,7 @@ library.")
         ("rust-static-assertions" ,rust-static-assertions-1))))
     (inputs
      `(("rust-cfg-if" ,rust-cfg-if-1)
-       ("rust-winapi" ,rust-winapi-0.3)))
-    (home-page "https://github.com/nagisa/rust_libloading/")
-    (synopsis "Safer binding to dynamic library loading utilities")
-    (description "This package provides a safer binding to dynamic library
-loading utilities.")
-    (license license:isc)))
+       ("rust-winapi" ,rust-winapi-0.3)))))
 
 (define-public rust-libloading-0.5
   (package
-- 
2.32.0





      parent reply	other threads:[~2021-06-11 11:48 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210611114534.1526-1-873216071@qq.com>
2021-06-11 11:44 ` [bug#48956] [PATCH 02/58] gnu: Add rust-salsa-macros-0.17 Zheng Junjie
2021-06-11 11:44 ` [bug#48956] [PATCH 03/58] gnu: Add rust-salsa-0.17 Zheng Junjie
2021-06-11 11:44 ` [bug#48956] [PATCH 04/58] gnu: Add rust-expect-test-1 Zheng Junjie
2021-06-11 11:44 ` [bug#48956] [PATCH 05/58] gnu: Add rust-rustc-ap-rustc-lexer-721 Zheng Junjie
2021-06-11 11:44 ` [bug#48956] [PATCH 06/58] gnu: Add rust-tikv-jemalloc-sys-0.4 Zheng Junjie
2021-06-11 11:44 ` [bug#48956] [PATCH 07/58] gnu: Add rust-tikv-jemallocator-0.4 Zheng Junjie
2021-06-11 11:44 ` [bug#48956] [PATCH 08/58] gnu: Add rust-tikv-jemalloc-ctl-0.4 Zheng Junjie
2021-06-11 11:44 ` [bug#48956] [PATCH 09/58] gnu: Add rust-chalk-derive-0.68 Zheng Junjie
2021-06-11 11:44 ` [bug#48956] [PATCH 10/58] gnu: Add rust-chalk-ir-0.68 Zheng Junjie
2021-06-11 11:44 ` [bug#48956] [PATCH 11/58] gnu: Add rust-tracing-tree-0.1 Zheng Junjie
2021-06-11 11:44 ` [bug#48956] [PATCH 12/58] gnu: Add rust-chalk-solve-0.68 Zheng Junjie
2021-06-11 11:44 ` [bug#48956] [PATCH 13/58] gnu: Add rust-chalk-recursive-0.68 Zheng Junjie
2021-06-11 11:44 ` [bug#48956] [PATCH 14/58] gnu: Add rust-dot-0.1 Zheng Junjie
2021-06-11 11:44 ` Zheng Junjie [this message]

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=tencent_204B726A6537D153A9B31CFE60756ACA9109@qq.com \
    --to=873216071@qq.com \
    --cc=48956@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.