guix-commits
[Top][All Lists]
Advanced

[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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]