diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d252bfc142..6c979553aa 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -70688,6 +70688,25 @@ (define-public rust-serial-0.4 "This package provides Rust library for accessing serial ports.") (license license:expat))) +(define-public rust-serial-core-0.4 + (package + (name "rust-serial-core") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "serial-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10a5lvllz3ljva66bqakrn8cxb3pkaqyapqjw9x760al6jdj0iiz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/dcuddeback/serial-rs") + (synopsis "Rust abstractions for serial ports") + (description "This package provides Rust abstractions for serial ports.") + (license license:expat))) + (define-public rust-serial-test-3 (package (name "rust-serial-test")