gnu: Add rust-serial-unix-0.4.

* gnu/packages/crates-io.scm (rust-serial-unix-0.4): New variable.

Change-Id: I0757a538c729fa199524acef03fe594fff1247f9
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Divya Ranjan 2025-01-05 07:03:39 +00:00 committed by Efraim Flashner
parent dc6f84c267
commit d607b796ac
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -71107,6 +71107,32 @@ (define-public rust-serial-test-derive-0.1
(("rust-quote" ,rust-quote-0.6)
("rust-syn" ,rust-syn-0.15))))))
(define-public rust-serial-unix-0.4
(package
(name "rust-serial-unix")
(version "0.4.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "serial-unix" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1dyaaca8g4q5qzc2l01yirzs6igmhc9agg4w8m5f4rnqr6jbqgzh"))
(snippet
#~(begin (use-modules (guix build utils))
(substitute* "Cargo.toml"
((", path = \".*\"") ""))))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-ioctl-rs" ,rust-ioctl-rs-0.1)
("rust-libc" ,rust-libc-0.2)
("rust-serial-core" ,rust-serial-core-0.4)
("rust-termios" ,rust-termios-0.2))))
(home-page "https://github.com/dcuddeback/serial-rs")
(synopsis "Serial port implementation for Unix")
(description "This package provides Serial port implementation for Unix.")
(license license:expat)))
(define-public rust-serial-windows-0.4
(package
(name "rust-serial-windows")