summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-26 16:11:32 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-26 14:00:54 +0200
commita83d31ef844ada117e21e803cadcacc8e9d6358e (patch)
tree6202b885289d21c2d2849cb0a66c593467152af5 /gnu
parentf6a57eecbe4385c4dc33d9d6e1035a85c5a195e9 (diff)
downloadpatches-a83d31ef844ada117e21e803cadcacc8e9d6358e.tar
patches-a83d31ef844ada117e21e803cadcacc8e9d6358e.tar.gz
gnu: Add rust-libloading-0.3.
* gnu/packages/crates-io.scm (rust-libloading-0.3): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b41be6160a..9d2dab60ef 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7970,6 +7970,29 @@ allows loading dynamic libraries (also known as shared libraries) as well as use
functions and static variables these libraries contain.")
(license license:isc)))
+(define-public rust-libloading-0.3
+ (package
+ (inherit rust-libloading-0.5)
+ (name "rust-libloading")
+ (version "0.3.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libloading" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0risz19rllhdc0d7nkpwkf4pcbjjgg1iim0kkmzb6kkp874hl0ha"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; Some test libraries not included in release.
+ #:cargo-inputs
+ (("rust-kernel32-sys" ,rust-kernel32-sys-0.2)
+ ("rust-lazy-static" ,rust-lazy-static-0.2)
+ ("rust-winapi" ,rust-winapi-0.2)
+ ("rust-target-build-utils" ,rust-target-build-utils-0.3))))))
+
(define-public rust-libm-0.2
(package
(name "rust-libm")