guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/37: gnu: Add rust-foreign-types-0.5.


From: guix-commits
Subject: 06/37: gnu: Add rust-foreign-types-0.5.
Date: Sat, 22 Feb 2020 16:39:56 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 079c2aaf491568c70c230469ee45d2ebecd7899d
Author: Valentin Ignatev <address@hidden>
AuthorDate: Sat Jan 18 23:04:24 2020 +0300

    gnu: Add rust-foreign-types-0.5.
    
    * gnu/packages/crates-io.scm (rust-foreign-types-0.5):
    New variable.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fec7501..7826c2e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4068,6 +4068,30 @@ implementation that is more efficient for smaller hash 
keys.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-foreign-types-0.5
+  (package
+    (name "rust-foreign-types")
+    (version "0.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "foreign-types" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0rfr2zfxnx9rz3292z5nyk8qs2iirznn5ff3rd4vgdwza6mdjdyp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-foreign-types-macros" ,rust-foreign-types-macros-0.2)
+        ("rust-foreign-types-shared" ,rust-foreign-types-shared-0.3))))
+    (home-page "https://github.com/sfackler/foreign-types";)
+    (synopsis "Framework for Rust wrappers over C APIs")
+    (description
+     "This package provides a framework for Rust wrappers over C APIs.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-foreign-types-0.3
   (package
     (name "rust-foreign-types")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]