summary refs log tree commit diff
diff options
context:
space:
mode:
authorphodina <phodina@protonmail.com>2021-09-15 19:19:29 +0000
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-11-03 12:59:08 +0100
commit4b0ef566fa16d57c6f43e3cefd686634c11e1e43 (patch)
treec319833d79992fcd3841d00790e9d4af08e27acc
parentd46dadbba58d7c8f81076df93c5b7f545c6929f2 (diff)
downloadguix-4b0ef566fa16d57c6f43e3cefd686634c11e1e43.tar.gz
gnu: Add rust-libloading-0.7.
* gnu/packages/crates-io.scm (rust-libloading-0.7): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 27 insertions, 2 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1944bf9c35..da2ed22c8b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25020,8 +25020,7 @@ library.")
      (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
          "0sidr67nsa693mqrqgk2np3bkqni0778yk147xncspy171jdk13g"))))
@@ -25065,6 +25064,32 @@ loading utilities.")
      `(("rust-cfg-if" ,rust-cfg-if-1)
        ("rust-winapi" ,rust-winapi-0.3)))))
 
+(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
+     `(#: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 platform dynamic library loading utilities")
+    (description "This package provides a safer binding to platform dynamic
+library loading utilities.")
+    (license license:isc)))
+
 (define-public rust-libloading-0.5
   (package
     (name "rust-libloading")