[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
164/276: gnu: Add rust-predicates-3.
From: |
guix-commits |
Subject: |
164/276: gnu: Add rust-predicates-3. |
Date: |
Wed, 18 Oct 2023 04:49:55 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit b6cdde9b074ecfc004e0b6263478129c39a491b0
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 3 14:46:53 2023 +0300
gnu: Add rust-predicates-3.
* gnu/packages/crates-io.scm (rust-predicates-3): New variable.
(rust-predicates-2): Inherit from rust-predicates-3.
---
gnu/packages/crates-io.scm | 45 +++++++++++++++++++++++++++++++++++++--------
1 file changed, 37 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3ab5443420..dc08c25914 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50504,29 +50504,30 @@ libpq.")
dependency to expose a precomputed hash.")
(license license:expat)))
-(define-public rust-predicates-2
+(define-public rust-predicates-3
(package
(name "rust-predicates")
- (version "2.1.0")
+ (version "3.0.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "predicates" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "05d749i3z8cbsr0899fzr2ksn8drbci4harcq82vjsj5krlagrcm"))))
+ (base32 "182q0wiabllvbg0nzfkf8a6qkbk0ckrkmfbk7k5ijgrfbibjiz3d"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
+ `(#:cargo-test-flags
+ '("--release" "--"
+ "--skip=path::fc::PredicateFileContentExt::from_file_path")
#:cargo-inputs
- (("rust-concolor-control" ,rust-concolor-control-0.0.7)
+ (("rust-anstyle" ,rust-anstyle-1)
("rust-difflib" ,rust-difflib-0.4)
("rust-float-cmp" ,rust-float-cmp-0.9)
- ("rust-itertools" ,rust-itertools-0.10)
+ ("rust-itertools" ,rust-itertools-0.11)
("rust-normalize-line-endings" ,rust-normalize-line-endings-0.3)
("rust-predicates-core" ,rust-predicates-core-1)
- ("rust-regex" ,rust-regex-1)
- ("rust-yansi" ,rust-yansi-0.5))
+ ("rust-regex" ,rust-regex-1))
#:cargo-development-inputs
(("rust-predicates-tree" ,rust-predicates-tree-1))))
(home-page "https://github.com/assert-rs/predicates-rs")
@@ -50536,6 +50537,34 @@ dependency to expose a precomputed hash.")
functions.")
(license (list license:expat license:asl2.0))))
+(define-public rust-predicates-2
+ (package
+ (inherit rust-predicates-3)
+ (name "rust-predicates")
+ (version "2.1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "predicates" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1pdd8zgw8351bvk882zadyqghnxzkjlf946vkdb1hgkzqdihl8sr"))))
+ (arguments
+ `(#:cargo-test-flags
+ '("--release" "--"
+ "--skip=path::fc::PredicateFileContentExt::from_file_path")
+ #:cargo-inputs
+ (("rust-concolor" ,rust-concolor-0.0.11)
+ ("rust-difflib" ,rust-difflib-0.4)
+ ("rust-float-cmp" ,rust-float-cmp-0.9)
+ ("rust-itertools" ,rust-itertools-0.10)
+ ("rust-normalize-line-endings" ,rust-normalize-line-endings-0.3)
+ ("rust-predicates-core" ,rust-predicates-core-1)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-yansi" ,rust-yansi-0.5))
+ #:cargo-development-inputs
+ (("rust-predicates-tree" ,rust-predicates-tree-1))))))
+
(define-public rust-predicates-1
(package
(inherit rust-predicates-2)
- 271/276: gnu: rust-cortex-m-0.7: Update to 0.7.7., (continued)
- 271/276: gnu: rust-cortex-m-0.7: Update to 0.7.7., guix-commits, 2023/10/18
- 273/276: gnu: transanno: Fix build., guix-commits, 2023/10/18
- 276/276: Revert "build: cargo-build-system: Disable tests by default.", guix-commits, 2023/10/18
- 146/276: gnu: Add rust-serde-regex-1., guix-commits, 2023/10/18
- 148/276: gnu: Add rust-ntest-timeout-0.7., guix-commits, 2023/10/18
- 149/276: gnu: Add rust-ntest-test-cases-0.7., guix-commits, 2023/10/18
- 163/276: gnu: Add rust-itertools-0.11., guix-commits, 2023/10/18
- 165/276: gnu: rust-predicates-core-1: Update to 1.0.6., guix-commits, 2023/10/18
- 166/276: gnu: rust-predicates-tree-1: Update to 1.0.9., guix-commits, 2023/10/18
- 170/276: gnu: Add rust-resize-0.4., guix-commits, 2023/10/18
- 164/276: gnu: Add rust-predicates-3.,
guix-commits <=
- 172/276: gnu: wlgreet: Update to 0.4.1., guix-commits, 2023/10/18
- 177/276: gnu: rust-minisign: Update to 0.7.5., guix-commits, 2023/10/18
- 178/276: gnu: rust-arrayvec-0.7: Update to 0.7.4., guix-commits, 2023/10/18
- 179/276: gnu: Add rust-constant-time-eq-0.3., guix-commits, 2023/10/18
- 183/276: gnu: rust-serde-json-1: Update to 1.0.107., guix-commits, 2023/10/18
- 185/276: gnu: rust-tempfile-3: Update to 3.8.0., guix-commits, 2023/10/18
- 180/276: gnu: Add rust-criterion-0.5., guix-commits, 2023/10/18
- 190/276: gnu: rust-pyo3: Update to 0.19.2., guix-commits, 2023/10/18
- 199/276: gnu: rust-afl-0.8: Remove check-for-pregenerated-files phase., guix-commits, 2023/10/18
- 201/276: gnu: rust-cookie-0.14: Update to 0.14.4., guix-commits, 2023/10/18