mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
gnu: Add rust-serial-0.4.
* gnu/packages/crates-io.scm (rust-serial-0.4): New variable. Change-Id: I01b22ba1dd671785ff4eddda86b1c5b38c1b48df
This commit is contained in:
parent
6f1bee8d6a
commit
4484472964
1 changed files with 26 additions and 0 deletions
|
@ -70662,6 +70662,32 @@ (define-public rust-serdeconv-0.4
|
|||
TOML/JSON/MessagePack strings and serializable values.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-serial-0.4
|
||||
(package
|
||||
(name "rust-serial")
|
||||
(version "0.4.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "serial" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "11iyvc1z123hn7zl6bk5xpf6xdlsb33qh6xa7g0pghqgayb7l8x1"))
|
||||
(snippet
|
||||
#~(begin (use-modules (guix build utils))
|
||||
(substitute* "Cargo.toml"
|
||||
((", path = \".*\"") ""))))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs (("rust-serial-core" ,rust-serial-core-0.4)
|
||||
("rust-serial-unix" ,rust-serial-unix-0.4)
|
||||
("rust-serial-windows" ,rust-serial-windows-0.4))))
|
||||
(home-page "https://github.com/dcuddeback/serial-rs")
|
||||
(synopsis "Rust library for accessing serial ports")
|
||||
(description
|
||||
"This package provides Rust library for accessing serial ports.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-serial-test-3
|
||||
(package
|
||||
(name "rust-serial-test")
|
||||
|
|
Loading…
Reference in a new issue