ngz pushed a commit to branch master
in repository guix.
commit ef6cf9ab9984a208072c59f3b02930f530661461
Author: Nicolas Goaziou <[email protected]>
AuthorDate: Wed Feb 10 00:28:22 2021 +0100
gnu: Add rust-mach-0.2.
* gnu/packages/crates-io.scm (rust-mach-0.2): New variable.
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1477dfc..3af4ecf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20226,6 +20226,29 @@ implementation of LZMA and xz stream
encoding/decoding.")
"This package provides a collection of great and ubiqutitous macros.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-mach-0.2
+ (package
+ (name "rust-mach")
+ (version "0.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mach" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1qdhs16cl1j3w7kvy6ak7h8lbyqmr6i3i15qfzpnv9gyrn3j9pc6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2))))
+ (home-page "https://github.com/fitzgen/mach")
+ (synopsis "Rust interface to the Mach 3.0 kernel that underlies OSX")
+ (description
+ "This package provides a Rust interface to the user-space API of the
+Mach 3.0 kernel that underlies OSX.")
+ (license (list license:asl2.0 license:expat license:bsd-2))))
+
(define-public rust-mach-o-sys-0.1
(package
(name "rust-mach-o-sys")