[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
172/379: gnu: Add rust-widestring-1.
From: |
guix-commits |
Subject: |
172/379: gnu: Add rust-widestring-1. |
Date: |
Mon, 10 Jul 2023 05:28:31 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit d14b37c40c0447368c963a12ae09d9f11c9f6647
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed May 17 11:49:37 2023 +0300
gnu: Add rust-widestring-1.
* gnu/packages/crates-io.scm (rust-widestring-1): New variable.
(rust-widestring-0.5): Inherit from rust-widestring-1.
---
gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++----------
1 file changed, 24 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6f84e484de..0f19ab9c6f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -73756,8 +73756,31 @@ terms of allowing LLVM's auto-vectorizer to do its
job.")
(("rust-bytemuck" ,rust-bytemuck-1))))
(license (list license:zlib))))
+(define-public rust-widestring-1
+ (package
+ (name "rust-widestring")
+ (version "1.0.2")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "widestring" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1a11qxmqf8jhh0vbyb6cc614d9qdqsh01r5bqnivn5pc74gi8gv5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-development-inputs (("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/starkat99/widestring-rs")
+ (synopsis "Wide string Rust FFI library")
+ (description
+ "A wide string Rust FFI library for converting to and from wide strings,
+such as those often used in Windows API or other FFI libraries. Both UTF-16
and
+UTF-32 types are provided, including support for malformed encoding.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-widestring-0.5
(package
+ (inherit rust-widestring-1)
(name "rust-widestring")
(version "0.5.1")
(source
@@ -73768,18 +73791,9 @@ terms of allowing LLVM's auto-vectorizer to do its
job.")
(sha256
(base32
"10qrilijh1qzw362mvd4nsz3vv32dxx530vk41hkcx8hah22z20p"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-development-inputs
- (("rust-winapi" ,rust-winapi-0.3))))
- (home-page "https://github.com/starkat99/widestring-rs")
- (synopsis "Wide string Rust FFI library")
- (description
- "A wide string Rust FFI library for converting to and from wide strings,
-such as those often used in Windows API or other FFI libraries. Both UTF-16
and
-UTF-32 types are provided, including support for malformed encoding.")
- (license (list license:asl2.0
- license:expat))))
+ (("rust-winapi" ,rust-winapi-0.3))))))
(define-public rust-widestring-0.4
(package
- 129/379: gnu: rust-brotli-3: Update to 3.3.4., (continued)
- 129/379: gnu: rust-brotli-3: Update to 3.3.4., guix-commits, 2023/07/10
- 133/379: gnu: rust-miow-0.2: Update to 0.2.2., guix-commits, 2023/07/10
- 131/379: gnu: rust-packed-simd-0.3: Update to 0.3.8., guix-commits, 2023/07/10
- 121/379: gnu: rust-tokio-threadpool-0.1: Update to 0.1.18., guix-commits, 2023/07/10
- 143/379: gnu: rust-pear-0.1: Update to 0.1.5., guix-commits, 2023/07/10
- 146/379: gnu: rust-tokio-stream-0.1: Update to 0.1.14., guix-commits, 2023/07/10
- 148/379: gnu: rust-nix-0.22: Update to 0.22.3., guix-commits, 2023/07/10
- 161/379: gnu: rust-zstd-sys-2: Update to 2.0.8., guix-commits, 2023/07/10
- 165/379: gnu: rust-zstd-0.9: Update to 0.9.3., guix-commits, 2023/07/10
- 167/379: gnu: rust-zstd-safe-4: Update to 4.1.6., guix-commits, 2023/07/10
- 172/379: gnu: Add rust-widestring-1.,
guix-commits <=
- 173/379: gnu: Add rust-num-format-windows-0.4., guix-commits, 2023/07/10
- 174/379: gnu: rust-num-format-0.4: Update to 0.4.4., guix-commits, 2023/07/10
- 176/379: gnu: rust-sleef-sys-0.1: Use newer dependencies., guix-commits, 2023/07/10
- 178/379: gnu: Remove rust-quasi-macros-0.32., guix-commits, 2023/07/10
- 184/379: gnu: Remove rust-asn1-0.8., guix-commits, 2023/07/10
- 187/379: gnu: Remove rust-bindgen-0.47., guix-commits, 2023/07/10
- 189/379: gnu: Remove rust-hyper-rustls-0.17., guix-commits, 2023/07/10
- 191/379: gnu: Remove rust-indexmap-1.6., guix-commits, 2023/07/10
- 202/379: gnu: Remove rust-model-0.1., guix-commits, 2023/07/10
- 208/379: gnu: Remove rust-polars-arrow-0.16., guix-commits, 2023/07/10