[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/311: gnu: Add rust-libloading-0.8.
From: |
guix-commits |
Subject: |
15/311: gnu: Add rust-libloading-0.8. |
Date: |
Sat, 28 Oct 2023 16:37:22 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 07bf8da89afbb6a899437d48ff6388539f261420
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 23 22:35:54 2023 +0300
gnu: Add rust-libloading-0.8.
* gnu/packages/crates-io.scm (rust-libloading-0.8): New variable.
(rust-libloading-0.7): Inherit from rust-libloading-0.8.
Change-Id: I2ff48e71770d3b34cdb70f72125e255f740458a8
---
gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++----------
1 file changed, 30 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b951481d87..cc4eecd9a8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37324,19 +37324,17 @@ library.")
("rust-openssl-sys" ,rust-openssl-sys-0.9)
("rust-pkg-config" ,rust-pkg-config-0.3))))))
-(define-public rust-libloading-0.7
+(define-public rust-libloading-0.8
(package
(name "rust-libloading")
- (version "0.7.4")
+ (version "0.8.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "libloading" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "17wbccnjvhjd9ibh019xcd8kjvqws8lqgq86lqkpbgig7gyq0wxn"))
+ (base32 "0q812zvfag4m803ak640znl6cf8ngdd0ilzky498r6pwvmvbcwf5"))
(modules '((guix build utils)))
(snippet
'(begin (for-each delete-file
@@ -37345,18 +37343,40 @@ library.")
(arguments
`(#:cargo-inputs
(("rust-cfg-if" ,rust-cfg-if-1)
- ("rust-winapi" ,rust-winapi-0.3))
+ ("rust-windows-sys" ,rust-windows-sys-0.48))
#:cargo-development-inputs
(("rust-libc" ,rust-libc-0.2)
- ("rust-static-assertions"
- ,rust-static-assertions-1))))
- (inputs (list rust-cfg-if-1 rust-winapi-0.3))
+ ("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.7
+ (package
+ (inherit rust-libloading-0.8)
+ (name "rust-libloading")
+ (version "0.7.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libloading" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "17wbccnjvhjd9ibh019xcd8kjvqws8lqgq86lqkpbgig7gyq0wxn"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin (for-each delete-file
+ (find-files "tests" "\\.dll$"))))))
+ (arguments
+ `(#: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))))))
+
(define-public rust-libloading-0.6
(package
(inherit rust-libloading-0.7)
- branch rust-team created (now b497cbb5ad), guix-commits, 2023/10/28
- 02/311: gnu: Add rust-adaptive-barrier-1., guix-commits, 2023/10/28
- 01/311: gnu: rust: Update to 1.73.0., guix-commits, 2023/10/28
- 07/311: gnu: rust-cargo-platform-0.1: Update to 0.1.4., guix-commits, 2023/10/28
- 08/311: gnu: Add rust-crossterm-0.26., guix-commits, 2023/10/28
- 13/311: gnu: rust-home-0.5: Update to 0.5.5., guix-commits, 2023/10/28
- 14/311: gnu: rust-is-terminal-0.4: Update to 0.4.9., guix-commits, 2023/10/28
- 15/311: gnu: Add rust-libloading-0.8.,
guix-commits <=
- 17/311: gnu: Add libgit2-1.6., guix-commits, 2023/10/28
- 04/311: gnu: rust-atomic-waker-1: Update to 1.1.2., guix-commits, 2023/10/28
- 03/311: gnu: rust-anyhow-1: Update to 1.0.75., guix-commits, 2023/10/28
- 05/311: gnu: rust-base64-0.21: Update to 0.21.4., guix-commits, 2023/10/28
- 06/311: gnu: rust-bytesize-1: Update to 1.3.0., guix-commits, 2023/10/28
- 09/311: gnu: rust-digest-0.10: Update to 0.10.7., guix-commits, 2023/10/28
- 10/311: gnu: Add rust-compound-duration-1., guix-commits, 2023/10/28
- 11/311: gnu: rust-filetime-0.2: Update to 0.2.22., guix-commits, 2023/10/28
- 12/311: gnu: rust-glob-0.3: Update to 0.3.1., guix-commits, 2023/10/28
- 16/311: gnu: rust-serde-ignored-0.1: Update to 0.1.9., guix-commits, 2023/10/28