guix-commits
[Top][All Lists]
Advanced

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

418/471: gnu: Add rust-orbclient-0.3.


From: guix-commits
Subject: 418/471: gnu: Add rust-orbclient-0.3.
Date: Wed, 3 May 2023 09:29:09 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 16e342fc0ef098c060ec648554f3c72f2d2e8c95
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Apr 24 16:04:54 2023 +0300

    gnu: Add rust-orbclient-0.3.
    
    * gnu/packages/crates-io.scm (rust-orbclient-0.3): New variable.
---
 gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 374205d5af..ca525c265d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40719,6 +40719,38 @@ system for OpenSSL.")
     (description "This package provides an extended version of rust bitflags.")
     (license license:expat)))
 
+(define-public rust-orbclient-0.3
+  (package
+    (name "rust-orbclient")
+    (version "0.3.44")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "orbclient" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 
"0zbn0kckbsa4bk3cik8gpfcir33zw4gsvqmmxya2w4aydkhjk60f"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t     ; Building requires SDL2 inputs.
+       #:cargo-inputs
+       (("rust-cfg-if" ,rust-cfg-if-1)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
+        ("rust-redox-syscall" ,rust-redox-syscall-0.2)
+        ("rust-sdl2" ,rust-sdl2-0.35)
+        ("rust-sdl2-sys" ,rust-sdl2-sys-0.35)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+        ("rust-web-sys" ,rust-web-sys-0.3))
+       #:cargo-development-inputs
+       (("rust-serde-derive" ,rust-serde-derive-1)
+        ("rust-toml" ,rust-toml-0.7))))
+    (home-page "https://gitlab.redox-os.org/redox-os/orbclient";)
+    (synopsis "Orbital Client Library")
+    (description
+     "This package provides the Orbital Client Library, used for RedoxOS.")
+    (license license:expat)))
+
 (define-public rust-ord-subset-3
   (package
     (name "rust-ord-subset")



reply via email to

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