[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
424/472: gnu: Add rust-bstr-1.
From: |
guix-commits |
Subject: |
424/472: gnu: Add rust-bstr-1. |
Date: |
Tue, 18 Jul 2023 14:09:55 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit b82dfc4d6b43bb94d989533c0300a9239d32aa89
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Jul 13 20:53:40 2023 +0300
gnu: Add rust-bstr-1.
* gnu/packages/crates-io.scm (rust-bstr-1): New variable.
(rust-bstr-0.2): Inherit from rust-bstr-1.
---
gnu/packages/crates-io.scm | 55 +++++++++++++++++++++++++++++++---------------
1 file changed, 37 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d31e73e524..4500064ce0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8864,20 +8864,46 @@ alphabet.")
"This crate provides encoding and decoding support for BSON.")
(license license:expat)))
+(define-public rust-bstr-1
+ (package
+ (name "rust-bstr")
+ (version "1.6.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "bstr" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "01bvsr3x9n75klbwxym0zf939vzim0plsmy786p0zzzvrj6i9637"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-memchr" ,rust-memchr-2)
+ ("rust-regex-automata" ,rust-regex-automata-0.3)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-quickcheck" ,rust-quickcheck-1)
+ ("rust-ucd-parse" ,rust-ucd-parse-0.1)
+ ("rust-unicode-segmentation" ,rust-unicode-segmentation-1))))
+ (home-page "https://github.com/BurntSushi/bstr")
+ (synopsis "String type that is not required to be valid UTF-8")
+ (description
+ "This package provides a string type that is not required to be valid
+UTF-8.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-bstr-0.2
(package
+ (inherit rust-bstr-1)
(name "rust-bstr")
(version "0.2.17")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "bstr" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "08rjbhysy6gg27db2h3pnhvr2mlr5vkj797i9625kwg8hgrnjdds"))))
- (build-system cargo-build-system)
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "bstr" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "08rjbhysy6gg27db2h3pnhvr2mlr5vkj797i9625kwg8hgrnjdds"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -8888,14 +8914,7 @@ alphabet.")
#:cargo-development-inputs
(("rust-quickcheck" ,rust-quickcheck-0.8)
("rust-ucd-parse" ,rust-ucd-parse-0.1)
- ("rust-unicode-segmentation" ,rust-unicode-segmentation-1))))
- (home-page "https://github.com/BurntSushi/bstr")
- (synopsis
- "String type that is not required to be valid UTF-8")
- (description
- "This package provides a string type that is not required to be valid
-UTF-8.")
- (license (list license:expat license:asl2.0))))
+ ("rust-unicode-segmentation" ,rust-unicode-segmentation-1))))))
(define-public rust-buf-redux-0.8
(package
- 383/472: gnu: rust-bumpalo-3: Update to 3.13.0., (continued)
- 383/472: gnu: rust-bumpalo-3: Update to 3.13.0., guix-commits, 2023/07/18
- 394/472: gnu: Add rust-rustc-rayon-0.5., guix-commits, 2023/07/18
- 405/472: gnu: rust-stacker-0.1: Update to 0.1.15., guix-commits, 2023/07/18
- 210/472: gnu: Remove rust-proptest-0.8., guix-commits, 2023/07/18
- 246/472: gnu: Add rust-anstyle-parse-0.2., guix-commits, 2023/07/18
- 341/472: gnu: Add rust-is-ci-1., guix-commits, 2023/07/18
- 372/472: gnu: rust-unicode-bidi-0.3: Update to 0.3.22., guix-commits, 2023/07/18
- 385/472: gnu: rust-bytecheck-derive-0.6: Update to 0.6.11., guix-commits, 2023/07/18
- 392/472: gnu: rust-ref-cast-impl-1: Update to 1.0.18., guix-commits, 2023/07/18
- 406/472: gnu: rust-syn-2: Update to 2.0.25., guix-commits, 2023/07/18
- 424/472: gnu: Add rust-bstr-1.,
guix-commits <=
- 426/472: gnu: rust-futures-0.3: Update to 0.3.28., guix-commits, 2023/07/18
- 457/472: gnu: Add rust-regex-automata-0.3., guix-commits, 2023/07/18
- 461/472: gnu: rust-pyo3-ffi-0.18: Inherit from rust-pyo3-ffi-0.19., guix-commits, 2023/07/18
- 466/472: gnu: Add rust-xz-0.1., guix-commits, 2023/07/18
- 450/472: gnu: Add rust-pyo3-build-config-0.19., guix-commits, 2023/07/18
- 456/472: gnu: Add rust-pyo3-macros-0.18., guix-commits, 2023/07/18
- 448/472: gnu: Add rust-pyo3-ffi-0.19., guix-commits, 2023/07/18
- 248/472: gnu: Add rust-capnp-rpc-0.14., guix-commits, 2023/07/18
- 261/472: gnu: Add rust-ecb-0.1., guix-commits, 2023/07/18
- 257/472: gnu: Add rust-color-print-proc-macro-0.3., guix-commits, 2023/07/18