[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
164/194: gnu: Add rust-predicates-3.
From: |
guix-commits |
Subject: |
164/194: gnu: Add rust-predicates-3. |
Date: |
Tue, 3 Oct 2023 14:58:09 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 4405fbd22f16f3b224bb8be9563c6529bad88384
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 5cb2b85089..4df6d86f67 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50442,29 +50442,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")
@@ -50474,6 +50475,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)
- 132/194: gnu: rust-test-case-1: Update to 1.2.3., (continued)
- 132/194: gnu: rust-test-case-1: Update to 1.2.3., guix-commits, 2023/10/03
- 135/194: gnu: Add rust-napi-sys-2., guix-commits, 2023/10/03
- 148/194: gnu: Add rust-ntest-timeout-0.7., guix-commits, 2023/10/03
- 128/194: gnu: rust-proptest-1: Update to 1.3.1., guix-commits, 2023/10/03
- 147/194: gnu: Add rust-ntest-proc-macro-helper-0.7., guix-commits, 2023/10/03
- 150/194: gnu: Add rust-ntest-0.7., guix-commits, 2023/10/03
- 154/194: gnu: Add rust-generational-arena-0.2., guix-commits, 2023/10/03
- 155/194: gnu: Add rust-debugid-0.8., guix-commits, 2023/10/03
- 153/194: gnu: Add rust-lexical-5., guix-commits, 2023/10/03
- 160/194: gnu: Add rust-as-derive-utils-0.8., guix-commits, 2023/10/03
- 164/194: gnu: Add rust-predicates-3.,
guix-commits <=
- 161/194: gnu: Add rust-y4m-0.8., guix-commits, 2023/10/03
- 173/194: gnu: Add rust-clap-mangen-0.1., guix-commits, 2023/10/03
- 167/194: gnu: rust-yansi-0.5: Update to 0.5.1., guix-commits, 2023/10/03
- 179/194: gnu: Add rust-constant-time-eq-0.3., guix-commits, 2023/10/03
- 166/194: gnu: rust-predicates-tree-1: Update to 1.0.9., guix-commits, 2023/10/03
- 182/194: gnu: Add rust-page-size-0.6., guix-commits, 2023/10/03
- 181/194: gnu: Add rust-memmap2-0.7., guix-commits, 2023/10/03
- 178/194: gnu: rust-arrayvec-0.7: Update to 0.7.4., guix-commits, 2023/10/03
- 188/194: gnu: Add rust-count-instructions-0.1., guix-commits, 2023/10/03
- 174/194: gnu: du-dust: Update to 0.8.6., guix-commits, 2023/10/03