[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/24: gnu: Add rust-bytecount-0.6.
From: |
guix-commits |
Subject: |
09/24: gnu: Add rust-bytecount-0.6. |
Date: |
Wed, 24 Jun 2020 21:06:58 -0400 (EDT) |
niedzejkob pushed a commit to branch master
in repository guix.
commit 6013bcfbff7f6fc3f2938e53a33284ded6d57be8
Author: Jakub Kądziołka <kuba@kadziolka.net>
AuthorDate: Wed Jun 24 19:59:25 2020 +0200
gnu: Add rust-bytecount-0.6.
* gnu/packages/crates-io.scm (rust-bytecount-0.6): New variable.
(rust-bytecount-0.5): Inherit from rust-bytecount-0.6. Replace
rust-rand-0.4 with 0.6 (the former only worked due to transitive
dependencies and "the semver trick" [0]).
(rust-bytecount-0.4): Inherit from rust-bytecount-0.5.
[0]: https://github.com/dtolnay/semver-trick
---
gnu/packages/crates-io.scm | 47 ++++++++++++++++++++++++++++++----------------
1 file changed, 31 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1868329..895955d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2020,10 +2020,10 @@ UTF-8.")
(description "Bytes related utility functions.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-bytecount-0.5
+(define-public rust-bytecount-0.6
(package
(name "rust-bytecount")
- (version "0.5.1")
+ (version "0.6.0")
(source
(origin
(method url-fetch)
@@ -2032,16 +2032,15 @@ UTF-8.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0z6a280kiy4kg5v3qw97pbyvwycr17fsm41804i8zpq7nmads3xy"))))
+ "0vplsx73zncb7mz8x0fs3k0p0rz5bmavj09vjk5nqn4z6fa7h0dh"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
+ `(#:cargo-inputs
(("rust-packed-simd" ,rust-packed-simd-0.3))
#:cargo-development-inputs
- (("rust-criterion" ,rust-criterion-0.2)
- ("rust-quickcheck" ,rust-quickcheck-0.8)
- ("rust-rand" ,rust-rand-0.4))))
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-quickcheck" ,rust-quickcheck-0.9)
+ ("rust-rand" ,rust-rand-0.7))))
(home-page "https://github.com/llogiq/bytecount")
(synopsis "Count occurrences of a given byte")
(description
@@ -2049,8 +2048,31 @@ UTF-8.")
in a byte slice, fast.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-bytecount-0.5
+ (package
+ (inherit rust-bytecount-0.6)
+ (name "rust-bytecount")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bytecount" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0z6a280kiy4kg5v3qw97pbyvwycr17fsm41804i8zpq7nmads3xy"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-packed-simd" ,rust-packed-simd-0.3))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.2)
+ ("rust-quickcheck" ,rust-quickcheck-0.8)
+ ("rust-rand" ,rust-rand-0.6))))))
+
(define-public rust-bytecount-0.4
(package
+ (inherit rust-bytecount-0.5)
(name "rust-bytecount")
(version "0.4.0")
(source
@@ -2062,20 +2084,13 @@ in a byte slice, fast.")
(sha256
(base32
"13qpy38z5wx0rzcdvr2h0ixbfgi1dbrif068il3hwn3k2mah88mr"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-packed-simd" ,rust-packed-simd-0.3))
#:cargo-development-inputs
(("rust-criterion" ,rust-criterion-0.2)
("rust-quickcheck" ,rust-quickcheck-0.6)
- ("rust-rand" ,rust-rand-0.4))))
- (home-page "https://github.com/llogiq/bytecount")
- (synopsis "Counting bytes really fast")
- (description
- "This package counts occurrences of a given byte, or the number of UTF-8
-code points, in a byte slice, fast.")
- (license (list license:asl2.0 license:expat))))
+ ("rust-rand" ,rust-rand-0.4))))))
(define-public rust-byteorder-1.3
(package
- branch master updated (1189f40 -> e4a26e3), guix-commits, 2020/06/24
- 02/24: gnu: rust-crossbeam-utils-0.7: Fix build., guix-commits, 2020/06/24
- 01/24: gnu: rust-globset-0.4: Update to 0.4.5., guix-commits, 2020/06/24
- 06/24: gnu: rust-grep-matcher-0.1: Update to 0.1.4., guix-commits, 2020/06/24
- 03/24: gnu: rust-ignore-0.4: Update to 0.4.16., guix-commits, 2020/06/24
- 04/24: gnu: rust-regex-syntax-0.6: Update to 0.6.18., guix-commits, 2020/06/24
- 05/24: gnu: rust-regex-1: Update to 1.3.9., guix-commits, 2020/06/24
- 07/24: gnu: rust-grep-regex-0.1: Update to 0.1.8., guix-commits, 2020/06/24
- 09/24: gnu: Add rust-bytecount-0.6.,
guix-commits <=
- 08/24: gnu: rust-aho-corasick-0.7: Update to 0.7.13., guix-commits, 2020/06/24
- 15/24: gnu: rust-pcre2-0.2: Update to 0.2.3., guix-commits, 2020/06/24
- 13/24: gnu: rust-grep-cli-0.1: Update to 0.1.5., guix-commits, 2020/06/24
- 12/24: gnu: rust-grep-printer-0.1: Update to 0.1.5., guix-commits, 2020/06/24
- 14/24: gnu: rust-grep-pcre2-0.1: Update to 0.1.4., guix-commits, 2020/06/24
- 18/24: gnu: Remove rust-arc-swap-0.3., guix-commits, 2020/06/24
- 19/24: gnu: rust-rayon-core-1: Update to 1.7.1., guix-commits, 2020/06/24
- 21/24: gnu: Remove rust-num-cpus-1.10., guix-commits, 2020/06/24
- 22/24: gnu: crates-io: Remove minor versions from some package names., guix-commits, 2020/06/24
- 20/24: gnu: rust-rayon-1: Update to 1.3.1., guix-commits, 2020/06/24