me
/
guix
Archived
1
0
Fork 0

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
Efraim Flashner 2023-10-23 22:35:54 +03:00
parent 45b4bc68b2
commit de16cf811a
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 30 additions and 10 deletions

View File

@ -37339,19 +37339,17 @@ library.")
("rust-openssl-sys" ,rust-openssl-sys-0.9) ("rust-openssl-sys" ,rust-openssl-sys-0.9)
("rust-pkg-config" ,rust-pkg-config-0.3)))))) ("rust-pkg-config" ,rust-pkg-config-0.3))))))
(define-public rust-libloading-0.7 (define-public rust-libloading-0.8
(package (package
(name "rust-libloading") (name "rust-libloading")
(version "0.7.4") (version "0.8.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "libloading" version)) (uri (crate-uri "libloading" version))
(file-name (file-name (string-append name "-" version ".tar.gz"))
(string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32 "0q812zvfag4m803ak640znl6cf8ngdd0ilzky498r6pwvmvbcwf5"))
"17wbccnjvhjd9ibh019xcd8kjvqws8lqgq86lqkpbgig7gyq0wxn"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(begin (for-each delete-file '(begin (for-each delete-file
@ -37360,18 +37358,40 @@ library.")
(arguments (arguments
`(#:cargo-inputs `(#:cargo-inputs
(("rust-cfg-if" ,rust-cfg-if-1) (("rust-cfg-if" ,rust-cfg-if-1)
("rust-winapi" ,rust-winapi-0.3)) ("rust-windows-sys" ,rust-windows-sys-0.48))
#:cargo-development-inputs #:cargo-development-inputs
(("rust-libc" ,rust-libc-0.2) (("rust-libc" ,rust-libc-0.2)
("rust-static-assertions" ("rust-static-assertions" ,rust-static-assertions-1))))
,rust-static-assertions-1))))
(inputs (list rust-cfg-if-1 rust-winapi-0.3))
(home-page "https://github.com/nagisa/rust_libloading/") (home-page "https://github.com/nagisa/rust_libloading/")
(synopsis "Safer binding to dynamic library loading utilities") (synopsis "Safer binding to dynamic library loading utilities")
(description "This package provides a safer binding to dynamic library (description "This package provides a safer binding to dynamic library
loading utilities.") loading utilities.")
(license license:isc))) (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 (define-public rust-libloading-0.6
(package (package
(inherit rust-libloading-0.7) (inherit rust-libloading-0.7)