gnu: Add rust-orbclient-0.3.

* gnu/packages/crates-io.scm (rust-orbclient-0.3): New variable.
This commit is contained in:
Efraim Flashner 2023-04-24 16:04:54 +03:00
parent d4b801ae8d
commit 11d66db82d
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -40719,6 +40719,38 @@ (define-public rust-option-set-0.1
(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")