From dc6f84c267dd327cbb584baf8bffd116a035cd73 Mon Sep 17 00:00:00 2001 From: Divya Ranjan Date: Sun, 5 Jan 2025 07:03:38 +0000 Subject: [PATCH] gnu: Add rust-serial-windows-0.4. * gnu/packages/crates-io.scm (rust-serial-windows-0.4): New variable. Change-Id: I979f5a1e83197dd6661413e2fa5f412f71418b48 Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6c979553aa..373e11593a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -71107,6 +71107,28 @@ (define-public rust-serial-test-derive-0.1 (("rust-quote" ,rust-quote-0.6) ("rust-syn" ,rust-syn-0.15)))))) +(define-public rust-serial-windows-0.4 + (package + (name "rust-serial-windows") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "serial-windows" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ql1vjy57g2jf218bhmgr98i41faq0v5vzdx3g9payi6fsvx7ihm")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; could not find `windows` in `os` + #:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-serial-core" ,rust-serial-core-0.4)))) + (home-page "https://github.com/dcuddeback/serial-rs") + (synopsis "Serial port implementation for Windows") + (description + "This package provides Serial port implementation for Windows.") + (license license:expat))) + (define-public rust-servo-arc-0.3 (package (name "rust-servo-arc")